Use Immutable Record for accounts in Redux state (#26559)
This commit is contained in:
@@ -35,6 +35,5 @@ export const store = configureStore({
|
||||
|
||||
// Infer the `RootState` and `AppDispatch` types from the store itself
|
||||
export type RootState = ReturnType<typeof rootReducer>;
|
||||
// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
export type GetState = typeof store.getState;
|
||||
|
||||
Reference in New Issue
Block a user