Remove alarmEnabled dependency from changeAlarmEnabled

This commit is contained in:
Brandon Presley 2022-07-09 19:42:53 +12:00
parent c3ce545508
commit b81830a913
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export default function SettingsPage() {
if (enabled && !ignoring) setShowBattery(true);
setItem('alarmEnabled', enabled ? 'true' : 'false');
},
[alarmEnabled, setShowBattery, ignoring],
[setShowBattery, ignoring],
);
return (