next.js 15 sync-dynamic-apis update
This commit is contained in:
1 parent
1c377bcdc3
commit
dfc13ced55
18 files changed
+71
-19
No files matched your search
@@ -1,5 +1,7 @@
|
||||
import SharePage from './SharePage';
|
||||
|
||||
export default function ({ params: { shareId } }) {
|
||||
export default async function ({ params }: { params: { shareId: string } }) {
|
||||
const { shareId } = await params;
|
||||
|
||||
return <SharePage shareId={shareId[0]} />;
|
||||
}
|
||||
Reference in new issue
Block a user