diff --git a/apps/web/hooks/telegram/use-back-button.ts b/apps/web/hooks/telegram/use-back-button.ts index 3e9632d..cab58c8 100644 --- a/apps/web/hooks/telegram/use-back-button.ts +++ b/apps/web/hooks/telegram/use-back-button.ts @@ -34,7 +34,7 @@ export function useBackButton() { } function isRootLevelPage(pathname: string) { - if (exclude.includes(pathname)) return true; + if (exclude.includes(pathname)) return false; return pathname.split('/').filter(Boolean).length === 1; }