Skip to content

Commit

Permalink
Merge pull request #442 from indiana-university/fix/441
Browse files Browse the repository at this point in the history
fix: Added return if dialog is not open (#441)
  • Loading branch information
johglove committed Jul 19, 2024
2 parents c105d76 + c91f6fd commit 0832916
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Dialog/Dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ const Dialog = ({
</div>
);
} else return dialogContent(dialogProps);
} else {
return null;
}
};

Expand Down

0 comments on commit 0832916

Please sign in to comment.