Skip to content

Commit

Permalink
Integrate redirect-hard message to fix suggest feature
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 8, 2024
1 parent 70eec6f commit 1986a99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/profile-selector/MyAccountMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ export const AccountMenu: React.FunctionComponent<AddressProps> = ({ address, ow
} else if (name === 'redirect') {
router.push(value)
setIsOpenProfileModal(false)
} else if (name === 'redirect-hard') {
window.location.href = value
setIsOpenProfileModal(false)
}
}
}, [])
Expand Down

0 comments on commit 1986a99

Please sign in to comment.