lulululu-debug opened a new pull request, #207:
URL: https://github.com/apache/casbin-gateway/pull/207

   ### Summary
   Pages read their labels through i18next.t() at render time rather than the 
useTranslation() hook, so a language change did not re-render them. 
changeLanguage() worked around this by calling window.location.reload(), which 
flashed the UI and dropped table filters, pagination, and scroll.
   
   Subscribe the App root to i18next's "languageChanged" via useTranslation() 
so the whole tree re-translates in place, and drop the reload.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to