Created
May 6, 2025 07:19
-
-
Save sommeeeer/5812250b90b6e882afbb695417f79b98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // search/page.tsx | |
| export default async function Page({ | |
| searchParams, | |
| }: { | |
| searchParams: Promise<{ [key: string]: string | string[] | undefined }> | |
| }) { | |
| const q = (await searchParams).q; | |
| return ( | |
| <> | |
| <div>q: {q}</div> | |
| </> | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment