diff --git a/src/utils/shouldRedirect.ts b/src/utils/shouldRedirect.ts index 1bc5a86d1..ee69b7509 100644 --- a/src/utils/shouldRedirect.ts +++ b/src/utils/shouldRedirect.ts @@ -138,7 +138,7 @@ export const shouldRedirect = ( } const hasValidTab = visibileTabs.includes(tab) - const tabQuery = tab !== 'profile' && hasValidTab ? `?tab=${tab}` : '' + // const tabQuery = tab !== 'profile' && hasValidTab ? `?tab=${tab}` : '' if (!hasValidTab) { return router.replace(`${destination}/${name}`)