From 8ff044beccaa9bba762da6244e1df57e18cdf056 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 26 Oct 2024 20:23:40 -0400 Subject: [PATCH] fix: Skip top-level redirects in main nav (#157) --- .changeset/lucky-geese-occur.md | 5 ++ src/components/AppHeader/AppHeader.tsx | 6 +-- src/routes/_authenticated/quests/route.tsx | 57 ++++++++++++---------- 3 files changed, 38 insertions(+), 30 deletions(-) create mode 100644 .changeset/lucky-geese-occur.md diff --git a/.changeset/lucky-geese-occur.md b/.changeset/lucky-geese-occur.md new file mode 100644 index 0000000..5ee67a2 --- /dev/null +++ b/.changeset/lucky-geese-occur.md @@ -0,0 +1,5 @@ +--- +"namesake": patch +--- + +Skip top-level redirects in main nav diff --git a/src/components/AppHeader/AppHeader.tsx b/src/components/AppHeader/AppHeader.tsx index c387827..f0d37db 100644 --- a/src/components/AppHeader/AppHeader.tsx +++ b/src/components/AppHeader/AppHeader.tsx @@ -20,11 +20,11 @@ export const AppHeader = () => { return (
- + - {isAdmin && Admin} + {isAdmin && Admin}