diff --git a/apps/web/src/components/navigation-menu/index.tsx b/apps/web/src/components/navigation-menu/index.tsx
index 09f441513..173a9a667 100644
--- a/apps/web/src/components/navigation-menu/index.tsx
+++ b/apps/web/src/components/navigation-menu/index.tsx
@@ -358,7 +358,7 @@ function NavigationMenu(props: NavigationMenuProps) {
>
{CREATE_BUTTON_MAP.tags.title}
-
+
) : (
store.refresh());
const tags = useStore((store) => store.tags);
const refresh = useStore((store) => store.refresh);
@@ -40,7 +40,7 @@ function Tags({ location }: Props) {
);
useEffect(() => {
- if (location === "sidebar") return;
+ if (isSidebar) return;
tags?.item(0).then((item) => {
if (item && item?.item) {
navigate(`/tags/${item.item.id}`);