Bug: RBAC Blog Code -- Possible callback bug?

Hello Auth0 Community,

I’m getting up to speed with Auth0 for a react web app I’m working on and was interested in the RBAC section outlined in the following blog:

After walking through the tutorial, I keep encountering an issue with parseHash getting called twice. After digging around, it looks like a similar issue was posted on the github repo:

My questions are as follows:

  1. Is this expected behavior?
  2. If not, what is the proper way to ensure that the callback is called only once?

Looking forward to hearing from someone on this!