removed reference to params on layout

This commit is contained in:
Hunter W.
2026-06-08 22:46:40 -04:00
parent 89e5c2364c
commit 5cc96b4ef1
4 changed files with 4 additions and 16 deletions

View File

@@ -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 (
<div style={{ minHeight: "100vh", paddingBottom: 36 }}>
<div

View File

@@ -3,10 +3,8 @@
import Profile from "@/components/Profile";
export default function ProfilePage() {
return (
<main>
<Profile />
</main>
);
}