every second a new usecontext is updated

Sorry for writing this answer, but I am not able to add a new comment.

A minor issue I saw

return {
    ...state,
    second: action.second, // you refer to action.second, which is undefined, you need action.payload here
};

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top