Skip to content

Commit 7be412c

Browse files
committed
Revert change to onFormClose for _attachTo
1 parent 841d57c commit 7be412c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/feedback/src/core/integration.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,6 @@ export const buildFeedbackIntegration = ({
245245
if (!dialog) {
246246
dialog = await _loadAndRenderDialog({
247247
...mergedOptions,
248-
onFormClose: () => {
249-
dialog && dialog.removeFromDom();
250-
mergedOptions.onFormClose && mergedOptions.onFormClose();
251-
},
252248
onFormSubmitted: () => {
253249
dialog && dialog.removeFromDom();
254250
mergedOptions.onFormSubmitted && mergedOptions.onFormSubmitted();

0 commit comments

Comments
 (0)