thirdweb-dev / react

Ultimate collection of React hooks for your web3 apps
https://docs.thirdweb.com/react
Apache License 2.0
80 stars 29 forks source link

[Bug]: ReferenceError: React is not defined at ThirdwebAuthConfigProvider #130

Closed baringji closed 2 years ago

baringji commented 2 years ago

Prerequisites

Optional

Describe the bug 3:10:09 PM: ReferenceError: React is not defined 3:10:09 PM: at ThirdwebAuthConfigProvider (file:///opt/build/repo/application/node_modules/.pnpm/@thirdweb-dev+react@2.6.4_romj5fimgekee2wiwgfsyyiw5q/node_modules/@thirdweb-dev/react/dist/index.mjs:19:8894)

Expected behavior No Error

Screenshots Screenshot from 2022-08-17 15-59-07

Package versions (please complete the following information):

Reproduction link If you have a reproducible project on CodeSandbox, Replit, or GitHub, link it here. (This will make it much easier for us to reproduce and fix your issue.)

Additional context In my case problem occurs only on 2.6.4.