removed reference to params on layout
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,10 +3,8 @@
|
||||
import Profile from "@/components/Profile";
|
||||
export default function ProfilePage() {
|
||||
return (
|
||||
|
||||
<main>
|
||||
<Profile />
|
||||
</main>
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user