mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Format
This commit is contained in:
parent
4a3274985e
commit
f3332a9eee
|
@ -95,9 +95,11 @@ export function monitor(
|
|||
dispatcherIsOpen: !state.dispatcherIsOpen,
|
||||
};
|
||||
case REHYDRATE:
|
||||
const rehydratedState = action.payload as {
|
||||
readonly monitor: MonitorState;
|
||||
} | undefined;
|
||||
const rehydratedState = action.payload as
|
||||
| {
|
||||
readonly monitor: MonitorState;
|
||||
}
|
||||
| undefined;
|
||||
if (!rehydratedState) return state;
|
||||
if (
|
||||
rehydratedState.monitor.monitorState &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user