diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:48:39 -0400 |
|---|---|---|
| committer | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:48:39 -0400 |
| commit | c3778706ab420494479740e19df08c0c3c5b2693 (patch) | |
| tree | d0514bd962478e4969c7789c7b34c314e34f6a54 /src/components | |
| parent | 912237e98462eaa22084809c11446f5e031d08b9 (diff) | |
| download | decky-lsfg-vk-c3778706ab420494479740e19df08c0c3c5b2693.tar.gz decky-lsfg-vk-c3778706ab420494479740e19df08c0c3c5b2693.zip | |
fix: preserve config callback return type
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Content.tsx | 4 |
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 |
