Skip to content

Commit b02a286

Browse files
Maxafc163
authored andcommitted
Fix invalid call to resizeObserver (#305)
Looks like a failed copy/paste of mutationObserver
1 parent 51f9e15 commit b02a286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DOMWrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class DOMWrap extends React.Component<DOMWrapProps, DOMWrapState> {
105105
this.resizeObserver.disconnect();
106106
}
107107
if (this.mutationObserver) {
108-
this.resizeObserver.disconnect();
108+
this.mutationObserver.disconnect();
109109
}
110110
}
111111

0 commit comments

Comments
 (0)