From 5cc96b4ef1c9523e325c1a870fb30659ef9c3483 Mon Sep 17 00:00:00 2001 From: "Hunter W." Date: Mon, 8 Jun 2026 22:46:40 -0400 Subject: [PATCH] removed reference to params on layout --- app/profile/layout.tsx | 7 +------ app/profile/page.tsx | 2 -- app/project/layout.tsx | 8 ++------ package.json | 3 +-- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/app/profile/layout.tsx b/app/profile/layout.tsx index 42e194e..dd38e26 100644 --- a/app/profile/layout.tsx +++ b/app/profile/layout.tsx @@ -1,15 +1,10 @@ -"use client"; - import Nav from "@/components/Nav"; - import Footer from "@/components/Footer"; + export default function Layout({children}: { children: React.ReactNode; - params: Promise<{ id: string }>; }) { - - return (
- ); } diff --git a/app/project/layout.tsx b/app/project/layout.tsx index bf8747b..8678644 100644 --- a/app/project/layout.tsx +++ b/app/project/layout.tsx @@ -3,14 +3,10 @@ import Nav from "@/components/Nav"; import Footer from "@/components/Footer"; -export default async function Layout({children, params}: { +export default async function ProjectLayout({children}: { children: React.ReactNode; - params: Promise<{ slug: string }>; }) { - const {slug} = await params; - - return (
-