Make delete app better handled & revamp error toast (#422)
Fixes #395 Fixes #270 Fixes #268
This commit is contained in:
@@ -22,7 +22,8 @@ export function registerVersionHandlers() {
|
||||
});
|
||||
|
||||
if (!app) {
|
||||
throw new Error("App not found");
|
||||
// The app might have just been deleted, so we return an empty array.
|
||||
return [];
|
||||
}
|
||||
|
||||
const appPath = getDyadAppPath(app.path);
|
||||
|
||||
Reference in New Issue
Block a user