diff --git a/src/app/(internal-sites)/profile/settings/page.tsx b/src/app/(internal-sites)/profile/settings/page.tsx index d0143f67..477aa4c7 100644 --- a/src/app/(internal-sites)/profile/settings/page.tsx +++ b/src/app/(internal-sites)/profile/settings/page.tsx @@ -1,5 +1,3 @@ -import Navbar from "~/components/navbar"; - const SettingsPage = () => { return
Settings
; }; diff --git a/src/app/(internal-sites)/todo/page.tsx b/src/app/(internal-sites)/todo/page.tsx index 7736527a..205a8696 100644 --- a/src/app/(internal-sites)/todo/page.tsx +++ b/src/app/(internal-sites)/todo/page.tsx @@ -1,5 +1,3 @@ -import Navbar from "~/components/navbar"; - const Todo = () => { return (
diff --git a/src/app/page.tsx b/src/app/page.tsx index 291813ba..13a19153 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,15 +1,11 @@ -import { AddUserDialog } from "~/components/homepage/add-user-dialog"; -import Chats from "~/components/homepage/chat-overview"; -import Navbar from "~/components/navbar"; import PublicHomepage from "~/app/public-homepage"; -import { SignOutButton } from "@clerk/nextjs"; import { currentUser } from "@clerk/nextjs/server"; import { redirect } from "next/navigation"; export default async function HomePage() { const user = await currentUser(); if (user) { - redirect("/chats"); + redirect("/chats"); } return ;