From 789a964b8315245eaef9f75545721a65c39a909a Mon Sep 17 00:00:00 2001 From: apsinghdev Date: Wed, 23 Oct 2024 22:11:27 +0530 Subject: [PATCH] chore: open dashboard in a new tab --- clients/apps/web/src/components/Accounts/AccountSetup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/apps/web/src/components/Accounts/AccountSetup.tsx b/clients/apps/web/src/components/Accounts/AccountSetup.tsx index 48f6314e5b..2ef9a43cf3 100644 --- a/clients/apps/web/src/components/Accounts/AccountSetup.tsx +++ b/clients/apps/web/src/components/Accounts/AccountSetup.tsx @@ -60,7 +60,7 @@ export const AccountSetup: React.FC = ({ const link = await api.accounts.dashboardLink({ id: account.id, }) - window.location.href = link.url + window.open(link.url, '_blank'); } return (