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
Supplying custom redirect components for AuthenticationProvider causes prop type validation warnings. Currently they are defined as PropTypes.node however correct one would be PropTypes.elementType as that accepts functional components as well. Here's a link to the PR where elementType was added.
Issue and Steps to Reproduce
Supplying custom redirect components for AuthenticationProvider causes prop type validation warnings. Currently they are defined as
PropTypes.node
however correct one would bePropTypes.elementType
as that accepts functional components as well. Here's a link to the PR whereelementType
was added.All my custom redirects are similar to this:
Versions
3.0.1-alpha.0
Screenshots
Expected
No errors :)
Actual
Failed prop type warnings.
Additional Details
I'll provide a PR with the fixes.
The text was updated successfully, but these errors were encountered: