diff --git a/src/gurx/react.ts b/src/gurx/react.ts index e7b477a9..c3a05360 100644 --- a/src/gurx/react.ts +++ b/src/gurx/react.ts @@ -196,7 +196,7 @@ export function realmFactoryToComponent< realm.resetSingletonSubs() for (const eventName of eventNames) { if (eventName in props) { - realm.singletonSubKey(map.events![eventName]! as string, props[eventName]!) + realm.singletonSubKey(map.events![eventName]! as string, props[eventName]) } } return () => {