📅  最后修改于: 2022-03-11 15:01:09.756000             🧑  作者: Mango
const initialState = {}; // remove this line cuz we don't need it
const store = createStore(bookReducer, applyMiddleware(...middleware)); //fixed like this