summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Content.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 43720c0..8f83e85 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -32,9 +32,7 @@ function usePersistentBoolean(key: string, defaultValue: boolean) {
useEffect(() => {
try {
localStorage.setItem(key, String(value));
- } catch {
- // Persisting the visibility preference is optional.
- }
+ } catch {}
}, [key, value]);
return [value, setValue] as const;
@@ -132,7 +130,6 @@ export function Content() {
game={runningGame}
config={config}
onConfigChange={(field, value) => handleConfigChange(field, value)}
- onRepair={repair}
/>
),
}] : []),