Skip to content

Commit

Permalink
feat(ref): fix reducer change
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntler committed Mar 25, 2023
1 parent aad9d0c commit 7da66ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/store/mainStateReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export const mainStateReducer: MainStateReducer = (

if (state.onDocumentChange) {
state.onDocumentChange(state.documents[nextDocumentNo]);
return state;
}

return {
Expand All @@ -97,7 +96,6 @@ export const mainStateReducer: MainStateReducer = (

if (state.onDocumentChange) {
state.onDocumentChange(state.documents[prevDocumentNo]);
return state;
}

return {
Expand Down

0 comments on commit 7da66ba

Please sign in to comment.