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
Update @supabase/auth-ui-react to have react and react-dom as peer dependencies.
I'm currently using react@next as dependency for my project. Installing @supabase/auth-ui-react ends up also including [email protected]. Here's the out for pnpm why react for my project:
Chore
Update
@supabase/auth-ui-react
to havereact
andreact-dom
as peer dependencies.I'm currently using
react@next
as dependency for my project. Installing@supabase/auth-ui-react
ends up also including[email protected]
. Here's the out forpnpm why react
for my project:This ends up crashing my app with an
Invalid hook call
error due to multiple copies of React.Describe the chore
react
andreact-dom
fromdependencies
topeerDependencies
anddevDependencies
.Additional context
For others who need a workaround; if you're using
pnpm
you can use the overrides functionality by updating your root package.json withI'd be happy to create a PR for this, guidelines just ask for contributors to submit an issue first.
The text was updated successfully, but these errors were encountered: