Closed polvallverdu closed 2 months ago
Ah, I see what's happening
The navigation.ts
file in Paraglide-Next is used both in server and client component contexts. If it's imported from the server component it doesn't use the next/navigation
but the import statement is still there which triggers the warning.
The fix here is to split out the part that uses next/navigation
into it's own file & have two files for server / client components.
Thank you for the fast fix 😄 I know it was just a warning, but it got annoying really fast.
I'm receiving this warning every time the webpage refreshes: