mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-11 10:18:47 +02:00
fix: replace create-profile Back button with Close
This commit is contained in:
1 parent
c91536325f
commit
5c6d05a62e
1 file changed
+2
-7
@@ -148,11 +148,6 @@ export function CreateProfileDialog({
|
||||
setLaunchHook("");
|
||||
};
|
||||
|
||||
// Handle back button
|
||||
const handleBack = () => {
|
||||
resetForm();
|
||||
};
|
||||
|
||||
const handleTabChange = (value: string) => {
|
||||
setActiveTab(value);
|
||||
resetForm();
|
||||
@@ -1559,8 +1554,8 @@ export function CreateProfileDialog({
|
||||
<DialogFooter className="shrink-0 border-t pt-4">
|
||||
{currentStep === "browser-config" ? (
|
||||
<>
|
||||
<RippleButton variant="outline" onClick={handleBack}>
|
||||
{t("common.buttons.back")}
|
||||
<RippleButton variant="outline" onClick={handleClose}>
|
||||
{t("common.buttons.close")}
|
||||
</RippleButton>
|
||||
<LoadingButton
|
||||
onClick={handleCreate}
|
||||
|
||||
Reference in new issue
Block a user