mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
16 lines
199 B
TypeScript
16 lines
199 B
TypeScript
'use client';
|
|
|
|
import { use } from 'react';
|
|
|
|
interface Props {
|
|
params: Promise<{
|
|
slug: string;
|
|
}>;
|
|
}
|
|
|
|
export default function Page(
|
|
{ params }: Props,
|
|
) {
|
|
const myParams = use(params);
|
|
}
|