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
This code runs twice because even just importing @perawallet/connect calls this code to define all the elements even if Pera is not explicitly used by the dApp as seen here
The text was updated successfully, but these errors were encountered:
For an application we're building, we're integrating two developer tools both which come with Pera built-in
However, this leads to the following error
Notably, it seems to be caused by this line of code here:
connect/src/App.ts
Line 14 in 054b66b
It looks like all the
define
calls in this function need to be wrapped with a check to see if they're already definedThis code runs twice because even just importing
@perawallet/connect
calls this code to define all the elements even if Pera is not explicitly used by the dApp as seen hereThe text was updated successfully, but these errors were encountered: