From 862760af96f274a2ade77a9d6e84c4903d6bb036 Mon Sep 17 00:00:00 2001 From: Viet Nguyen <3805254+vnugent@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:11:03 -0700 Subject: [PATCH] fix: add onboarding check to appDir pages (#1098) --- src/app/(default)/components/PageFooter.tsx | 2 +- src/app/(default)/layout.tsx | 2 ++ src/app/(maps)/components/ProfileMenu.tsx | 2 ++ src/components/auth/OnboardingCheck.tsx | 14 ++++++++++++ src/js/hooks/useUsernameCheck.ts | 25 +++++++++++++++++++++ src/pages/_app.tsx | 13 ++--------- 6 files changed, 46 insertions(+), 12 deletions(-) create mode 100644 src/components/auth/OnboardingCheck.tsx diff --git a/src/app/(default)/components/PageFooter.tsx b/src/app/(default)/components/PageFooter.tsx index d88f87d69..fb90a6992 100644 --- a/src/app/(default)/components/PageFooter.tsx +++ b/src/app/(default)/components/PageFooter.tsx @@ -4,7 +4,7 @@ import { Logo, LogoSize } from '../header' */ export const PageFooter: React.FC = () => { return ( -