rehydrate gives error state.forEach is not a function
rehydrate gives error state.forEach is not a function