Fix unit preferences logic

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 23:10:18 +00:00
parent 82566fa657
commit 8f33b36750
3 changed files with 23 additions and 38 deletions

View File

@@ -22,5 +22,5 @@ export function useLocationAutoDetect() {
localStorage.setItem('location_detection_attempted', 'true');
});
}
}, [user, loading, preferences.auto_detect, autoDetectPreferences]);
}, [user, loading, preferences.auto_detect]);
}