feature/IO-3499-React-19 - Checkpoint

This commit is contained in:
Dave
2026-01-23 18:36:00 -05:00
parent 745ec57510
commit 587a3104db

View File

@@ -38,4 +38,15 @@ i18n
}
);
// Enable HMR for translation files in development
if (import.meta.hot) {
import.meta.hot.accept(() => {
// When translation files change, do a full reload
// This is the most reliable approach for i18n updates
if (!import.meta.env.VITE_STOP_RELOAD_ON_HOT_UPDATE) {
window.location.reload();
}
});
}
export default i18n;