-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: refactor upsertViaFromSuggestedOP
- using lodash pick to simplify the object construction - no need to lookup twice to find the corresponding pathStep - we don’t need to create copies of the pathSteps array since we are using immer to handle immutability for us - extracting the reducer logic in buildPathStepFromSuggestedOp to be reused
- Loading branch information
1 parent
0bf99e1
commit 7354ddf
Showing
3 changed files
with
66 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters