summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 16:48:39 -0400
committerKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 16:48:39 -0400
commitc3778706ab420494479740e19df08c0c3c5b2693 (patch)
treed0514bd962478e4969c7789c7b34c314e34f6a54 /src
parent912237e98462eaa22084809c11446f5e031d08b9 (diff)
downloaddecky-lsfg-vk-c3778706ab420494479740e19df08c0c3c5b2693.tar.gz
decky-lsfg-vk-c3778706ab420494479740e19df08c0c3c5b2693.zip
fix: preserve config callback return type
Diffstat (limited to 'src')
-rw-r--r--src/components/Content.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index a300f6f..ce3c018 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -118,7 +118,9 @@ export function Content() {
fieldName: keyof ConfigurationData,
value: boolean | number | string | string[],
cleanupLaunchOptions = false,
- ) => save({ ...config, [fieldName]: value }, cleanupLaunchOptions);
+ ) => {
+ await save({ ...config, [fieldName]: value }, cleanupLaunchOptions);
+ };
const setup = (
<SetupTab