Closed parth391 closed 2 years ago
Hi @parth391 !
Please clarify, does your component Provider
use React.Context store?
This may be because authorization
is being re-rendered and store reset to default. It may be necessary to take its(auth store) outside of LaravelReactI18nProvider
provider
@EugeneMeles, I removed the store and auth process, but its doing the same behaviour.
I have created a sample repository. On login page you can find the change lang button. On clicking, its redirecting me to the home page.
https://user-images.githubusercontent.com/4966579/200322270-cb6de8ee-390c-4e86-ae63-c0117afc44c6.mov
My app.ts file
To set lang