Skip to content

Commit

Permalink
fix: Change substring search to starts with
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Mar 19, 2024
1 parent 6f2e736 commit 8d62afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account/accountProfileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const useCompleteProfile = () => {
return;
}

if (location?.pathname.includes('/account/profile/completeProfile')) {
if (location?.pathname.startsWith('/account/profile/completeProfile')) {
return;
}

Expand Down

0 comments on commit 8d62afc

Please sign in to comment.