fix: replace create-profile Back button with Close

This commit is contained in:
zhom
2026-07-07 22:44:11 +04:00
parent c91536325f
commit 5c6d05a62e
+2 -7
View File
@@ -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}