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
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 that useContract has the same name as the parameter in sdk/util/common.ts. When I try to delete default in useContract After that, this error will not occur.
error in console :
Uncaught ReferenceError: Cannot access 'commonOwner' before initialization
at optionFactoryContract.ts:3:22
client.ts:103 [vite] server connection lost. polling for restart...
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: