It says that:
Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.
I solve the issue but I still want to know How to pass it down from the top reducer instead of reading it from the store?