summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 15:46:51 -0400
committerKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 15:46:51 -0400
commitf83e6cacec84ccc8e17be50d68e228aab996cee5 (patch)
tree961f50fbba46fb9fdafd52ddc59e198cca2b490e /src/components
parent644e624e6e8745f58b4f3bee4a672f180992ad1b (diff)
downloaddecky-lsfg-vk-f83e6cacec84ccc8e17be50d68e228aab996cee5.tar.gz
decky-lsfg-vk-f83e6cacec84ccc8e17be50d68e228aab996cee5.zip
refactor: remove now-playing flatpak repair coupling
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}
/>
),
}] : []),