[React Hooks] wrong error when hooks are called outside <AblyProvider>
#1849
Labels
bug
Something isn't working. It's clear that this does need to be fixed.
When any hook is called outside
<AblyProvider>
's context:Expected:
Could not find ably client in context. Make sure your ably hooks are called inside an <AblyProvider>
Actual:
TypeError: Cannot read properties of undefined (reading 'client')
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: