Skip to content

Commit

Permalink
Merge pull request #82 from FleetAdmiralJakob/cleaned-up-imports
Browse files Browse the repository at this point in the history
chore: cleaned up some imports
  • Loading branch information
Gamius00 authored Apr 28, 2024
2 parents 0a5a543 + a933492 commit 1a30086
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions src/app/(internal-sites)/profile/settings/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Navbar from "~/components/navbar";

const SettingsPage = () => {
return <div>Settings</div>;
};
Expand Down
2 changes: 0 additions & 2 deletions src/app/(internal-sites)/todo/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Navbar from "~/components/navbar";

const Todo = () => {
return (
<div className="flex h-full flex-col items-center justify-center lg:pl-24">
Expand Down
6 changes: 1 addition & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -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 <PublicHomepage />;
Expand Down

0 comments on commit 1a30086

Please sign in to comment.