Skip to content

Commit 02a13a7

Browse files
fix: restore Auth0ComponentProvider in component preview bundle
In @auth0/universal-components-react v2.0.1 the package entries were split: the main entry exports *View components and useCoreClient, while the /spa entry exports only Auth0ComponentProvider. A previous commit (ad01b4f) switched mintlifyLoader from /spa to the main entry to recover the missing View components, but that removed Auth0ComponentProvider from the loaded module. getWrapper() destructures Auth0ComponentProvider from that module, so it silently became undefined and all My Org component previews stopped rendering. Fix: mintlifyLoader now imports from both entries in parallel and merges the results, so the wrapper has Auth0ComponentProvider, useCoreClient, and all *View components available. Rebuilt the UMD bundle.
1 parent bef00a3 commit 02a13a7

2 files changed

Lines changed: 44 additions & 37 deletions

File tree

0 commit comments

Comments
 (0)