perf(ui): optimize all selectors 2

Mostly selector optimization. Still a few places to tidy up but I'll get to that later.
This commit is contained in:
psychedelicious
2024-08-27 15:57:20 +10:00
parent bac0ce1e69
commit 89ff9b8b88
164 changed files with 906 additions and 689 deletions

View File

@@ -11,7 +11,7 @@ import {
selectDeleteImageModalSlice,
} from 'features/deleteImageModal/store/slice';
import type { ImageUsage } from 'features/deleteImageModal/store/types';
import { selectNodesSlice } from 'features/nodes/store/nodesSlice';
import { selectNodesSlice } from 'features/nodes/store/selectors';
import { selectSystemSlice, setShouldConfirmOnDelete } from 'features/system/store/systemSlice';
import { some } from 'lodash-es';
import type { ChangeEvent } from 'react';