diff --git a/app/features/settings/routes/settings.tsx b/app/features/settings/routes/settings.tsx index fbb78323c..418d9d705 100644 --- a/app/features/settings/routes/settings.tsx +++ b/app/features/settings/routes/settings.tsx @@ -32,7 +32,7 @@ const sounds = [ function Sounds() { // default to true const currentValue = (code: string) => - !localStorage.getItem(code) || + !localStorage.getItem(soundCodeToLocalStorageKey(code)) || localStorage.getItem(soundCodeToLocalStorageKey(code)) === "true"; const [soundValues, setSoundValues] = React.useState(