mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
7dea079220
commit
f25b6ee5d1
@ -73,12 +73,12 @@ export const addSocketConnectedEventListener = () => {
|
||||
|
||||
/**
|
||||
* Else, we need to reset the API state to update everything.
|
||||
*
|
||||
*
|
||||
* TODO: This is rather inefficient. We don't actually need to re-fetch *all* network requests,
|
||||
* but determining which ones to re-fetch is non-trivial. It's at least the queue related ones
|
||||
* and gallery, but likely others. We'd also need to keep track of which requests need to be
|
||||
* re-fetch in this situation, which opens the door for bugs.
|
||||
*
|
||||
*
|
||||
* Optimize this later.
|
||||
*/
|
||||
dispatch(api.util.resetApiState());
|
||||
|
@ -1,7 +1,6 @@
|
||||
import type { SystemState } from './types';
|
||||
|
||||
export const systemPersistDenylist: (keyof SystemState)[] = [
|
||||
'isInitialized',
|
||||
'isConnected',
|
||||
'denoiseProgress',
|
||||
'status',
|
||||
|
Loading…
Reference in New Issue
Block a user