mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore(ui): finish eslint v9 migration
This commit is contained in:
@@ -72,7 +72,7 @@ export const authToastMiddleware: Middleware = () => (next) => (action) => {
|
||||
description: customMessage,
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// no-op
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,7 +128,6 @@ export const buildOnModelInstallError = (getState: AppGetState, dispatch: AppDis
|
||||
if (!install) {
|
||||
dispatch(api.util.invalidateTags([{ type: 'ModelInstalls' }]));
|
||||
} else {
|
||||
install.source;
|
||||
dispatch(
|
||||
modelsApi.util.updateQueryData('listModelInstalls', undefined, (draft) => {
|
||||
const modelImport = draft.find((m) => m.id === data.id);
|
||||
|
||||
Reference in New Issue
Block a user