diff --git a/packages/dialog/dialog.ts b/packages/dialog/dialog.ts index 17cc1fa8..2b461d8d 100644 --- a/packages/dialog/dialog.ts +++ b/packages/dialog/dialog.ts @@ -58,6 +58,8 @@ const Dialog: Dialog = options => { return new Promise((resolve, reject) => { const context = options.context || getContext(); const dialog = context.selectComponent(options.selector); + + delete options.context; delete options.selector; if (dialog) {