Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught TypeError: Cannot read property 'expirationTime' of undefined #14767
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
This is currently my only component, copied from the docs
However, my page crashes, and I get the following error
Unfortunately, I cannot reproduce it in codesandbox, so not sure what exactly I might be doing wrong?
What is the expected behavior?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?