mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-21 21:49:55 +03:00
Fix imports
This commit is contained in:
parent
bc462b23cc
commit
d7e8f6bd7e
|
@ -6,7 +6,7 @@ import {
|
|||
import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances';
|
||||
import { Dispatch, MiddlewareAPI } from 'redux';
|
||||
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||
|
||||
function panelDispatcher(bgConnection: chrome.runtime.Port) {
|
||||
let autoselected = false;
|
||||
|
|
|
@ -18,7 +18,7 @@ import theme, { ThemeState } from '@redux-devtools/app/lib/reducers/theme';
|
|||
import connection, {
|
||||
ConnectionState,
|
||||
} from '@redux-devtools/app/lib/reducers/connection';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||
|
||||
export interface StoreStateWithoutSocket {
|
||||
readonly section: SectionState;
|
||||
|
@ -30,17 +30,15 @@ export interface StoreStateWithoutSocket {
|
|||
readonly notification: NotificationState;
|
||||
}
|
||||
|
||||
const rootReducer: Reducer<
|
||||
StoreStateWithoutSocket,
|
||||
StoreAction
|
||||
> = combineReducers<StoreStateWithoutSocket>({
|
||||
instances,
|
||||
monitor,
|
||||
reports,
|
||||
notification,
|
||||
section,
|
||||
theme,
|
||||
connection,
|
||||
});
|
||||
const rootReducer: Reducer<StoreStateWithoutSocket, StoreAction> =
|
||||
combineReducers<StoreStateWithoutSocket>({
|
||||
instances,
|
||||
monitor,
|
||||
reports,
|
||||
notification,
|
||||
section,
|
||||
theme,
|
||||
connection,
|
||||
});
|
||||
|
||||
export default rootReducer;
|
||||
|
|
|
@ -9,7 +9,7 @@ import getPreloadedState from '../background/getPreloadedState';
|
|||
import '../../views/devpanel.pug';
|
||||
import { Action, PreloadedState, Store } from 'redux';
|
||||
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
||||
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||
import { PanelMessage } from '../../../app/middlewares/api';
|
||||
import { StoreStateWithoutSocket } from '../../../app/reducers/panel';
|
||||
|
||||
|
@ -21,9 +21,7 @@ const messageStyle: CSSProperties = {
|
|||
};
|
||||
|
||||
let rendered: boolean | undefined;
|
||||
let store:
|
||||
| Store<StoreStateWithoutSocket, StoreAction>
|
||||
| undefined;
|
||||
let store: Store<StoreStateWithoutSocket, StoreAction> | undefined;
|
||||
let bgConnection: chrome.runtime.Port;
|
||||
let naTimeout: NodeJS.Timeout;
|
||||
let preloadedState: PreloadedState<StoreState>;
|
||||
|
|
Loading…
Reference in New Issue
Block a user