-
Hello, I'm using next-intl with tolgee, and i followed all the steps in the docs and also checked out the example project here: Everything works except on page router i cannot use the navigation which is exported from the navigation.ts. As soon as i import for example Link or usePathname i receive this error:
I double checked everything, and while all other function works, this one is not, but only on page router. Importing it in an app router page works fine. Can anyone tell me how to use localized navigation on page router? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey, I've just tried to reproduce this in d275cd3, but it seems to be working for me. Can you double check if you have differences in your app compared to the example? This might be related: vercel/next.js#77200. Also, can you check if you have |
Beta Was this translation helpful? Give feedback.
Hmm, I wonder if there are mismatching React versions somehow.
See e.g.: https://www.reddit.com/r/reactjs/comments/vl7ww2/typeerror_cannot_read_properties_of_null_reading/