in create react app (dev env) all work fine.
But after build(prod env) I got:
Actual result:
Warning: React.createElement: type is invalid -- expected a string (for built-in components)
or a class/function (for composite components) but got: undefined. You likely forgot to
export your component from the file it's defined in. Check the render method of
How to fix:
import AzureAD from 'react-aad-msal';
Maybe it's not a bug. But I didn't find it in the documentation.
Hi All! Steps to reproduce: When I use:
in create react app (dev env) all work fine. But after build(prod env) I got:
Actual result:
How to fix:
Maybe it's not a bug. But I didn't find it in the documentation.