Skip to content

Commit

Permalink
fix: reload project gap size = 0 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangChiTW committed Oct 7, 2022
1 parent 91cfdb4 commit be81a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/actions/projectAct.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ const projectActions = {
))
commit(types.addProject)
} else {
store.replaceState(newState(parseInt(_project.chip.height), parseInt(_project.chip.width), parseInt(_project.gridUnit), parseInt(_project.cornerSize), parseInt(_project.gapSize), _project))
store.replaceState(newState(parseInt(_project.chip.height), parseInt(_project.chip.width), parseInt(_project.gridUnit), _project.cornerSize, _project.gapSize, _project))
commit(types.addProject)
await dispatch(types.checkAuth)
}
Expand Down

0 comments on commit be81a68

Please sign in to comment.