mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-15 05:25:04 -05:00
refactor(ui): use redux-provided hooks for accessing store
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createAction } from '@reduxjs/toolkit';
|
||||
import { useAppStore } from 'app/store/nanostores/store';
|
||||
import { useAppStore } from 'app/store/storeHooks';
|
||||
import { groupBy } from 'es-toolkit/compat';
|
||||
import {
|
||||
$outputNodeId,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { createSelector } from '@reduxjs/toolkit';
|
||||
import { EMPTY_ARRAY } from 'app/store/constants';
|
||||
import { useAppStore } from 'app/store/nanostores/store';
|
||||
import { useAppStore } from 'app/store/storeHooks';
|
||||
import { $false } from 'app/store/nanostores/util';
|
||||
import type { AppDispatch, AppStore } from 'app/store/store';
|
||||
import { useAppSelector } from 'app/store/storeHooks';
|
||||
|
||||
Reference in New Issue
Block a user