diff --git a/src/account/accountProfileUtils.js b/src/account/accountProfileUtils.js index fe9e1f721..1ca7b3391 100644 --- a/src/account/accountProfileUtils.js +++ b/src/account/accountProfileUtils.js @@ -73,7 +73,7 @@ export const useCompleteProfile = () => { return; } - if (location.pathname === '/account/profile/completeProfile') { + if (location?.pathname.includes('/account/profile/completeProfile')) { return; }