chore(ui): lint

This commit is contained in:
psychedelicious
2024-01-09 11:31:29 +11:00
parent 7dea079220
commit f25b6ee5d1
2 changed files with 2 additions and 3 deletions

View File

@ -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());

View File

@ -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',