clickPuzzle(state,{payload:id,type}:PayloadAction<number>){ puzzlesSlice.caseReducers.setAnimate(state,{payload:id,type}); }