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]: Uncaught TypeError: Class extends value undefined is not a constructor or null #106

Open MilanObrenovic opened 2 years ago

MilanObrenovic commented 2 years ago

Prerequisites

Describe the bug After following this tutorial: https://www.youtube.com/watch?v=nXMF7aeHXuo within the first 3-4 minutes of the video when i try to run the react app i'm getting a console log error "Uncaught TypeError: Class extends value undefined is not a constructor or null"

Expected behavior Run the react app successfully

Screenshots Error: image

Code that caused this error (line 9 and 11):

image

Also code that caused this error (line 9-12, line 23):

image

Package versions:

Reproduction link None

Additional context None