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:
@ -73,12 +73,12 @@ export const addSocketConnectedEventListener = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Else, we need to reset the API state to update everything.
|
* 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,
|
* 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
|
* 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
|
* 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.
|
* re-fetch in this situation, which opens the door for bugs.
|
||||||
*
|
*
|
||||||
* Optimize this later.
|
* Optimize this later.
|
||||||
*/
|
*/
|
||||||
dispatch(api.util.resetApiState());
|
dispatch(api.util.resetApiState());
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import type { SystemState } from './types';
|
import type { SystemState } from './types';
|
||||||
|
|
||||||
export const systemPersistDenylist: (keyof SystemState)[] = [
|
export const systemPersistDenylist: (keyof SystemState)[] = [
|
||||||
'isInitialized',
|
|
||||||
'isConnected',
|
'isConnected',
|
||||||
'denoiseProgress',
|
'denoiseProgress',
|
||||||
'status',
|
'status',
|
||||||
|
Reference in New Issue
Block a user