From 02c42c93e133373466c89ef86eb92eb358eab842 Mon Sep 17 00:00:00 2001 From: Bob Burningham Date: Sun, 8 Oct 2023 17:30:03 -0700 Subject: [PATCH] fixed type in modal --- app/(setup)/page.tsx | 4 ++-- components/modals/initial-modal.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(setup)/page.tsx b/app/(setup)/page.tsx index 8915fed..af0c11d 100644 --- a/app/(setup)/page.tsx +++ b/app/(setup)/page.tsx @@ -2,7 +2,7 @@ import { redirect } from "next/navigation"; import { db } from "@/lib/db"; import { initialProfile } from "@/lib/initial-profile"; -import { InitialModel } from "@/components/modals/initial-model"; +import { InitialModal } from "@/components/modals/initial-modal"; const SetupPage = async () => { const profile = await initialProfile(); @@ -21,7 +21,7 @@ const SetupPage = async () => { return redirect(`/servers/${server.id}`); } - return ; + return ; } export default SetupPage; \ No newline at end of file diff --git a/components/modals/initial-modal.tsx b/components/modals/initial-modal.tsx index b8ba77d..1de2efc 100644 --- a/components/modals/initial-modal.tsx +++ b/components/modals/initial-modal.tsx @@ -34,7 +34,7 @@ const formSchema = z.object({ }), }); -export const InitialModel = () => { +export const InitialModal = () => { const [isMounted, setIsMounted] = useState(false); useEffect(() => {