diff --git a/frontend/editor/src/portal/components/DownloadEditorModal.tsx b/frontend/editor/src/portal/components/DownloadEditorModal.tsx index 3a4c9bb29d..602e3ca530 100644 --- a/frontend/editor/src/portal/components/DownloadEditorModal.tsx +++ b/frontend/editor/src/portal/components/DownloadEditorModal.tsx @@ -255,7 +255,7 @@ export function DownloadEditorModal({ open, onClose }: Props) { variant="secondary" leftSection={} onClick={() => { - window.location.href = EDITOR_URL; + window.open(EDITOR_URL, "_blank", "noopener,noreferrer"); }} > {t("portal.home.download.openInBrowser")} diff --git a/frontend/editor/src/portal/components/WelcomeBanner.tsx b/frontend/editor/src/portal/components/WelcomeBanner.tsx index 0d56e85730..c1d6857bdb 100644 --- a/frontend/editor/src/portal/components/WelcomeBanner.tsx +++ b/frontend/editor/src/portal/components/WelcomeBanner.tsx @@ -78,7 +78,7 @@ export function WelcomeBanner({ footer }: WelcomeBannerProps) { className="portal-welcome__cta" leftSection={} onClick={() => { - window.location.href = EDITOR_URL; + window.open(EDITOR_URL, "_blank", "noopener,noreferrer"); }} > {t("portal.welcome.openInBrowser")}