- 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> |
||
|---|---|---|
| .. | ||
| [username] | ||
| new | ||
| p/[party] | ||
| saved | ||
| server-error | ||
| teams | ||
| unauthorized | ||
| error.tsx | ||
| global-error.tsx | ||
| layout.tsx | ||
| not-found.tsx | ||
| page.tsx | ||