chore: fix types

This commit is contained in:
Henry
2024-04-23 09:13:04 +01:00
parent 4e344a5ae1
commit 0c1de23a19
11 changed files with 80 additions and 45 deletions

View File

@@ -1,15 +1,7 @@
import { redirect } from "next/navigation";
import SideNavigation from "./SideNavigation";
import FeedbackButton from "./FeedbackButton";
export default function Dashboard(props: { children: React.ReactNode }) {
// const session = await auth();
// if (!session?.user) {
// redirect("/api/auth/signin");
// }
return (
<div className="flex h-screen flex-col items-center bg-light-100 dark:bg-dark-50">
<div className="m-auto flex h-16 w-full justify-between border-b border-light-600 px-5 py-2 align-middle dark:border-dark-600">