- Remove useSearchParams from next-intl's createNavigation exports - Import useSearchParams directly from next/navigation in client components - Fixes "useSearchParams is not a function" error - Affected components: TeamsPageClient, ProfilePageClient, SavedPageClient, PartyHeader next-intl's createNavigation doesn't export useSearchParams, it must be imported from Next.js directly 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| navigation.ts | ||
| request.ts | ||