Make delete app better handled & revamp error toast (#422)

Fixes #395 
Fixes #270 
Fixes #268
This commit is contained in:
Will Chen
2025-06-16 23:36:43 -07:00
committed by GitHub
parent df38fb0f80
commit 2fc33d04c1
6 changed files with 147 additions and 34 deletions

View File

@@ -23,7 +23,9 @@ export function useLoadApp(appId: number | null) {
return ipcClient.getApp(appId);
},
enabled: appId !== null,
meta: { showErrorToast: true },
// Deliberately not showing error toast here because
// this will pop up when app is deleted.
// meta: { showErrorToast: true },
});
useEffect(() => {