We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b3b8b commit 072086fCopy full SHA for 072086f
src/index.tsx
@@ -48,7 +48,9 @@ function triggerSubscriptions() {
48
(componentId: string) => {
49
new Promise(
50
(resolve, reject) => {
51
- subscribes[componentId]()
+ if (subscribes[componentId] && typeof subscribes[componentId] === 'function') {
52
+ subscribes[componentId]()
53
+ }
54
resolve()
55
}
56
).then()
0 commit comments