diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-10 07:47:39 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-10 07:47:39 -0400 |
| commit | 6a927e30f743fac0a5451381ceed7f1d83e94a37 (patch) | |
| tree | cf950d0bec19c2b149ace8dc29a5c13a914e909a /src/hooks | |
| parent | 1c520a2f72d0d25fc63a77e01ae07e5733c6773d (diff) | |
| download | decky-lsfg-vk-6a927e30f743fac0a5451381ceed7f1d83e94a37.tar.gz decky-lsfg-vk-6a927e30f743fac0a5451381ceed7f1d83e94a37.zip | |
fix: clean up simple migration type errors
Diffstat (limited to 'src/hooks')
| -rw-r--r-- | src/hooks/useLsfgHooks.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hooks/useLsfgHooks.ts b/src/hooks/useLsfgHooks.ts index 73cfa0c..9beb749 100644 --- a/src/hooks/useLsfgHooks.ts +++ b/src/hooks/useLsfgHooks.ts @@ -57,7 +57,7 @@ export function useInstallation(reloadConfig?: () => Promise<void>) { const result = await installLsfgVk(); if (!result.success) { setInstallationStatus(`Installation failed: ${result.error}`); - showInstallErrorToast(result.error); + showInstallErrorToast(result.error ?? undefined); return; } setIsInstalled(true); @@ -80,7 +80,7 @@ export function useInstallation(reloadConfig?: () => Promise<void>) { const result = await uninstallLsfgVk(); if (!result.success) { setInstallationStatus(`Uninstallation failed: ${result.error}`); - showUninstallErrorToast(result.error); + showUninstallErrorToast(result.error ?? undefined); return; } setIsInstalled(false); |
