Skip to content

Commit

Permalink
fix: link to view profile
Browse files Browse the repository at this point in the history
  • Loading branch information
blushi committed Feb 14, 2024
1 parent 69b330a commit ce8d73a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const ViewProfileButton = ({ setIsWarningModalOpen }: Props) => {
<OutlinedButton
onClick={() => {
if (isDirtyRef?.current) {
setIsWarningModalOpen('/profile/portfolio');
setIsWarningModalOpen('/profile');
} else {
navigate('/profile/portfolio');
navigate('/profile');
}
}}
startIcon={<EyeIcon />}
Expand Down

0 comments on commit ce8d73a

Please sign in to comment.