web: open settings with importer page instead of importer.notesnook.com

This commit is contained in:
Abdullah Atta
2025-04-25 13:02:55 +05:00
parent 8078c3ed3c
commit fc40a05254

View File

@@ -48,6 +48,7 @@ import { ErrorText } from "../components/error-text";
import { BuyDialog } from "./buy-dialog";
import { BaseDialogProps, DialogManager } from "../common/dialog-manager";
import { strings } from "@notesnook/intl";
import { SettingsDialog } from "./settings";
type Step = {
title: string;
@@ -297,7 +298,9 @@ function Importer({ onClose }: { onClose: () => void }) {
variant="accent"
sx={{ borderRadius: 50, alignSelf: "center", px: 30 }}
onClick={() => {
window.open("https://importer.notesnook.com/", "_blank");
SettingsDialog.show({
activeSection: "importer"
});
onClose();
}}
>