React Redux Game of Life questions

Could anybody help on my game of life project?

  1. When I click the clear button, why I cannot use the new state which is created by Redux action.type===‘CLEAR’ (I cannot make the board empty and clear)?

  2. I set gen=0 in handleClear under clear button in React, why it doesn’t work? If I delete clearInterval(setInter) and setInter=false, then the gen=0 will work, why?

Thank you for your time!