Browse Source

Fix typo

pull/1774/head
Andrew Kingston 5 years ago
parent
commit
4352611fc7
  1. 4
      packages/client/src/utils/buttonActions.js

4
packages/client/src/utils/buttonActions.js

@ -117,12 +117,12 @@ export const enrichButtonActions = (actions, context) => {
} }
}) })
// Stop enriching actions when encountering a confirmable actions, // Stop enriching actions when encountering a confirmable action,
// as the callback continues the action chain // as the callback continues the action chain
return return
} }
// For non-confirmable actions, execute this immediately // For non-confirmable actions, execute the handler immediately
else { else {
const result = await callback() const result = await callback()
if (result === false) { if (result === false) {

Loading…
Cancel
Save