You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No matter whether i'm using string refs (as in the example) or callback refs (preferred way these days), can't seem to get a ref for the DigitsLoginButton component at all. This prevents me from getting session details. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
hey @blackxored -- sounds like this is probably because after the user logs in, you're switching to rendering the DigitsLogoutButton instead so the ref for DigitsLoginButton won't be being registered anymore.
the getSessionDetails() stuff should really live on the DigitsLogoutButton anyway, since the session data won't actually exist until you've logged in.
i've changed that in my ES6 branch, and confirmed that it works even with ye olde string refs as per the Example.
No matter whether i'm using string refs (as in the example) or callback refs (preferred way these days), can't seem to get a ref for the DigitsLoginButton component at all. This prevents me from getting session details. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: