Skip to content

Commit

Permalink
Merge pull request #1108 from and-rose/bugfix/nextAction-not-being-reset
Browse files Browse the repository at this point in the history
fix(#1077): Fix params to updateNextAction
  • Loading branch information
helloanoop authored Dec 1, 2023
2 parents d23bd85 + f4b27af commit ba994cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const useCollectionNextAction = () => {
const item = findItemInCollectionByPathname(collection, get(collection, 'nextAction.payload.pathname'));

if (item) {
dispatch(updateNextAction(collection.uid, null));
dispatch(updateNextAction({ collectionUid: collection.uid, nextAction: null }));
dispatch(
addTab({
uid: item.uid,
Expand Down

0 comments on commit ba994cb

Please sign in to comment.