Skip to content

Commit fe75f90

Browse files
committed
Fix interaction event error using import wrappers
Fixes #74
1 parent 7b7783d commit fe75f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/hydration-blocker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function makeHydrationBlocker(component, options) {
5959
this.hydrationPromise.then(cleanup);
6060
}
6161

62-
if (this.interactionEvents.length) {
62+
if (this.interactionEvents && this.interactionEvents.length) {
6363
const eventListenerOptions = {
6464
capture: true,
6565
once: true,

0 commit comments

Comments
 (0)