Skip to content

Commit

Permalink
bugfix/modal-callback
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJJackson committed Jan 30, 2024
1 parent ca8dc1b commit 78aabe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hhd-ui",
"version": "0.15.0",
"version": "0.15.1",
"private": true,
"dependencies": {
"@ag-grid-community/client-side-row-model": "^30.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/app-bundles/modal-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ModalBundle = {
},

doModalClose: () => ({ store, dispatch }) => {
const { callback = () => {} } = store.selectModalProps();
const { callback = () => {} } = store.selectModalProps() || {};

callback();

Expand Down

0 comments on commit 78aabe3

Please sign in to comment.