Update useBusterWebSocket.tsx

This commit is contained in:
Nate Kelley 2025-03-04 10:53:54 -07:00
parent 813b05c18a
commit e5d93dea31
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ const useBusterSocketListeners = (props: {
});
const getCurrentListeners = useMemoizedFn((route: BusterSocketResponseRoute | string) => {
return listeners.current[route as string] || [];
return listeners.current[route] || [];
});
const busterSocket: BusterSocket = useMemo(