We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9624f commit 443af29Copy full SHA for 443af29
packages/main/src/popup-utils/OpenedPopupsRegistry.js
@@ -17,7 +17,7 @@ const addOpenedPopup = (instance, parentPopovers = []) => {
17
18
const removeOpenedPopup = instance => {
19
openedRegistry = openedRegistry.filter(el => {
20
- return el !== instance.instance;
+ return el.instance !== instance;
21
});
22
23
if (!openedRegistry.length) {
0 commit comments