aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(dash)
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-24 21:42:13 -0500
committerDhravya <[email protected]>2024-06-24 21:42:13 -0500
commit672a0fec005ad74701c04afe511c49d01db1017d (patch)
treeab9a1667a8a04aa13d4095a1be7ece18cf537d97 /apps/web/app/(dash)
parentaaaaaaaa (diff)
downloadsupermemory-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.tsx1
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,