Skip to content

Commit

Permalink
Revert change to onFormClose for _attachTo
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmurray-codecov committed Aug 2, 2024
1 parent 841d57c commit 7be412c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/feedback/src/core/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ export const buildFeedbackIntegration = ({
if (!dialog) {
dialog = await _loadAndRenderDialog({
...mergedOptions,
onFormClose: () => {
dialog && dialog.removeFromDom();
mergedOptions.onFormClose && mergedOptions.onFormClose();
},
onFormSubmitted: () => {
dialog && dialog.removeFromDom();
mergedOptions.onFormSubmitted && mergedOptions.onFormSubmitted();
Expand Down

0 comments on commit 7be412c

Please sign in to comment.