79415140

Date: 2025-02-05 14:51:45
Score: 1.5
Natty:
Report link

try this

const { siteUrl } = useParams<{ name: string }>()

or just remove the Promise from params type definition

params: { siteUrl: string }

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Trunks