From 63ed233eb27d5410463b456a85fbb82fe4af88e5 Mon Sep 17 00:00:00 2001 From: mohandast52 Date: Mon, 16 Dec 2024 19:53:44 +0530 Subject: [PATCH] fix: update logic to navigate to create safe if master safe is not created --- frontend/components/SetupPage/SetupWelcome.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/SetupPage/SetupWelcome.tsx b/frontend/components/SetupPage/SetupWelcome.tsx index 8a97a059..c2fe7365 100644 --- a/frontend/components/SetupPage/SetupWelcome.tsx +++ b/frontend/components/SetupPage/SetupWelcome.tsx @@ -221,8 +221,8 @@ export const SetupWelcomeLogin = () => { return; } - // if master safe is available - if (masterSafe?.address) { + // if master safe is NOT created, then go to create safe + if (!masterSafe?.address) { goto(SetupScreen.SetupCreateSafe); return; }