feat: Update refresh handlers to include language and other settings for improved state management

This commit is contained in:
alexsparkes
2026-02-07 13:23:06 +00:00
parent 4d56bbb2c1
commit 2d7e1ad97a
4 changed files with 22 additions and 4 deletions

View File

@@ -126,7 +126,13 @@ const DateWidget = () => {
useEffect(() => {
const handleRefresh = (data) => {
if (data === 'date' || data === 'timezone') {
if (
data === 'date' ||
data === 'timezone' ||
data === 'language' ||
data === 'other' ||
data === 'welcomeLanguage'
) {
if (localStorage.getItem('date') === 'false') {
setDisplay('none');
return;