Fix response emit and sidebar flex

This commit is contained in:
Gregory Schier
2024-02-09 16:16:02 -08:00
parent 7a960574a5
commit a55cf9e216
5 changed files with 27 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ export function GlobalHooks() {
});
});
useListenToTauriEvent<Model>('deleted_model', ({ payload, windowLabel }) => {
useListenToTauriEvent<Model>('deleted_model', ({ payload }) => {
if (shouldIgnoreModel(payload)) return;
if (payload.model === 'workspace') {