Frachtwerk / essencium-frontend

Next.js based starter monorepo consisting of a component library, types, docs and a boilerplate application.
https://staging.essencium.dev
GNU Lesser General Public License v3.0
17 stars 1 forks source link

Fix i18n #592

Closed qhantom closed 2 months ago

qhantom commented 2 months ago

DESCRIPTION

This PR fixes the i18n implementation in the following way. This implementation replaces the current workaround where you need to pass userRights in dependency array of useEffect hook inside _app.tsx.

image

TO-DO

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
app ✅ Ready (Inspect) Visit Preview Jun 4, 2024 11:09am
docs ✅ Ready (Inspect) Visit Preview Jun 4, 2024 11:09am
qhantom commented 2 months ago

I really like the solution and it's also a wonderful refactoring! Thank you for the effort!

Thanks man!

qhantom commented 2 months ago

@PhilKsr please have another look 🙂