-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access 'xxx' before initialization #481
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
can'n start dev server, according to my tests, this problem is related to the
composables/useContract
function. It should be caused by the fact thatuseContract
has the same name as the parameter insdk/util/common.ts
. When I try to deletedefault
inuseContract
After that, this error will not occur.error in console :
Reproduction
https://stackblitz.com/edit/vitejs-vite-ep9btn?file=src%2Fcomposables%2FuseContract.ts
test step:
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: