diff --git a/src/frontend/src/pages/SettingsPage/index.tsx b/src/frontend/src/pages/SettingsPage/index.tsx index 85666d38814b..d5339bd11a17 100644 --- a/src/frontend/src/pages/SettingsPage/index.tsx +++ b/src/frontend/src/pages/SettingsPage/index.tsx @@ -1,4 +1,4 @@ -import { Outlet, type To } from "react-router-dom"; +import { Outlet } from "react-router-dom"; import SideBarButtonsComponent from "@/components/core/sidebarComponent"; import { SidebarProvider } from "@/components/ui/sidebar"; import { CustomStoreSidebar } from "@/customization/components/custom-store-sidebar"; @@ -15,6 +15,8 @@ export default function SettingsPage(): JSX.Element { const autoLogin = useAuthStore((state) => state.autoLogin); const hasStore = useStoreStore((state) => state.hasStore); + const flowsUrl = `${globalThis.location.origin}/flows`; + // Hides the General settings if there is nothing to show const showGeneralSettings = ENABLE_PROFILE_ICONS || hasStore || !autoLogin; @@ -89,7 +91,7 @@ export default function SettingsPage(): JSX.Element { return (