Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

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

Abdullah Attafc40a052543d
diff --git a/apps/web/src/dialogs/onboarding-dialog.tsx b/apps/web/src/dialogs/onboarding-dialog.tsx
index f1a5b7c67..74ee9e646 100644
--- a/apps/web/src/dialogs/onboarding-dialog.tsx
+++ b/apps/web/src/dialogs/onboarding-dialog.tsx
@@ -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();
}}
>