chore: fix types
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user