Remove alarmEnabled dependency from changeAlarmEnabled
This commit is contained in:
parent
c3ce545508
commit
b81830a913
|
@ -106,7 +106,7 @@ export default function SettingsPage() {
|
|||
if (enabled && !ignoring) setShowBattery(true);
|
||||
setItem('alarmEnabled', enabled ? 'true' : 'false');
|
||||
},
|
||||
[alarmEnabled, setShowBattery, ignoring],
|
||||
[setShowBattery, ignoring],
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user