79426140

Date: 2025-02-10 05:34:40
Score: 1.5
Natty:
Report link

Have you tried using searchParams props?

const Home = async ({ searchParams }: SearchParams) => {
  const { error_code } = await searchParams;
}

Link to their documentation: https://nextjs.org/docs/app/api-reference/functions/use-search-params#server-components

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Newbie.Dev