diff options
| author | Dhravya <[email protected]> | 2024-06-24 21:42:13 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-24 21:42:13 -0500 |
| commit | 672a0fec005ad74701c04afe511c49d01db1017d (patch) | |
| tree | ab9a1667a8a04aa13d4095a1be7ece18cf537d97 /apps/web/app/(dash) | |
| parent | aaaaaaaa (diff) | |
| download | supermemory-672a0fec005ad74701c04afe511c49d01db1017d.tar.xz supermemory-672a0fec005ad74701c04afe511c49d01db1017d.zip | |
fix: redirect if not logged in
Diffstat (limited to 'apps/web/app/(dash)')
| -rw-r--r-- | apps/web/app/(dash)/home/page.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/app/(dash)/home/page.tsx b/apps/web/app/(dash)/home/page.tsx index a4235f1b..a78301fb 100644 --- a/apps/web/app/(dash)/home/page.tsx +++ b/apps/web/app/(dash)/home/page.tsx @@ -7,6 +7,7 @@ import { getSpaces } from "@/app/actions/fetchers"; import { useRouter } from "next/navigation"; import { createChatThread, linkTelegramToUser } from "@/app/actions/doers"; import { toast } from "sonner"; +import { useSession } from "next-auth/react"; function Page({ searchParams, |