diff --git a/bigbluebutton-html5/imports/ui/core/hooks/createUseSubscription.ts b/bigbluebutton-html5/imports/ui/core/hooks/createUseSubscription.ts index 2db7c5e491..0f636f3617 100644 --- a/bigbluebutton-html5/imports/ui/core/hooks/createUseSubscription.ts +++ b/bigbluebutton-html5/imports/ui/core/hooks/createUseSubscription.ts @@ -10,7 +10,7 @@ export function createUseSubsciption( query: DocumentNode | TypedQueryDocumentNode, usePatchedSubscription = false ) { - return function useGeneratedUseSubsctiontion(projectionFunction: Function): Array> { + return function useGeneratedUseSubscription(projectionFunction: Function): Array> { const client = useApolloClient(); const [projectedData, setProjectedData] = useState>([]); const oldProjectionOfDataRef = useRef>([]);