aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/page.tsx')
-rw-r--r--apps/web/app/page.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx
index d86c91be..c5d57e8a 100644
--- a/apps/web/app/page.tsx
+++ b/apps/web/app/page.tsx
@@ -1,13 +1,11 @@
import { redirect } from "next/navigation";
-import LandingPage from "@/components/landing/LandingPage";
import { getServerAuthSession } from "@/server/auth";
export default async function Home() {
- // TODO: Home currently just redirects between pages until we build a proper landing page
const session = await getServerAuthSession();
if (session) {
redirect("/dashboard/bookmarks");
+ } else {
+ redirect("/signin");
}
-
- return <LandingPage />;
}