Connect2IC / connect2ic

https://connect2ic.github.io/docs/
MIT License
92 stars 19 forks source link

plug wallet needs to be setup, otherwise can't select any wallets in the modal #33

Open augchan42 opened 10 months ago

augchan42 commented 10 months ago

There's something screwy where the modal is unresponsive unless plug is setup. The first thing that happens is it pops the plug wallet extension page (as if plug extension wasn't installed. My plug wallet was installed but no wallet was setup yet)

Other issue is the code sample assumes loose type checking allowing anys, had to cast defaultProviders as any for my strict typescript project to compile:

const client = createClient({
  canisters: {
    your_canister,
  },
  providers: defaultProviders as any,
})