From bdfae779a031f11340bb63a6166ba44b79847ee2 Mon Sep 17 00:00:00 2001 From: bighappyface Date: Sat, 10 Aug 2024 01:57:38 -0400 Subject: [PATCH] fix: add type for childen in personal account settings layout --- src/app/dashboard/(personalAccount)/settings/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/dashboard/(personalAccount)/settings/layout.tsx b/src/app/dashboard/(personalAccount)/settings/layout.tsx index 40e4f7c..cde94fa 100644 --- a/src/app/dashboard/(personalAccount)/settings/layout.tsx +++ b/src/app/dashboard/(personalAccount)/settings/layout.tsx @@ -2,7 +2,7 @@ import SettingsNavigation from "@/components/dashboard/settings-navigation"; import DashboardTitle from "@/components/dashboard/dashboard-title"; import {Separator} from "@/components/ui/separator"; -export default function PersonalAccountSettingsPage({children}) { +export default function PersonalAccountSettingsPage({children}: {children: React.ReactNode}) { const items = [ { name: "Profile", href: "/dashboard/settings" }, { name: "Teams", href: "/dashboard/settings/teams" },