From 1986a995e62dffd2d34374d129ddb079f75210d3 Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Fri, 8 Mar 2024 12:23:26 +0700 Subject: [PATCH] Integrate redirect-hard message to fix suggest feature --- src/components/profile-selector/MyAccountMenu.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/profile-selector/MyAccountMenu.tsx b/src/components/profile-selector/MyAccountMenu.tsx index df660ebb7..fcb3984e5 100644 --- a/src/components/profile-selector/MyAccountMenu.tsx +++ b/src/components/profile-selector/MyAccountMenu.tsx @@ -87,6 +87,9 @@ export const AccountMenu: React.FunctionComponent = ({ address, ow } else if (name === 'redirect') { router.push(value) setIsOpenProfileModal(false) + } else if (name === 'redirect-hard') { + window.location.href = value + setIsOpenProfileModal(false) } } }, [])