Skip to content

Commit

Permalink
fix: remove extra user
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 25, 2024
1 parent aae604e commit 2298371
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/app/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const Home = () => {
const user = useUserStore((state) => state.user);

const router = useRouter();
const user = useUserStore((state) => state.user);
if (!user!.categories.length) {
router.push("/onboarding");
}
Expand Down

0 comments on commit 2298371

Please sign in to comment.