bandada-infra / boilerplate

Simple application to use as a template to create a project with Bandada.
https://demo.bandada.pse.dev
2 stars 2 forks source link

Remove the `joinGroup` function in `index.tsx` file #7

Closed vplasencia closed 6 months ago

zhangdav commented 7 months ago
const providerName = group.credentials.id.split("_")[0].toLowerCase()
const identityCommitment = _identity?.getCommitment().toString()

window.open(
  `${process.env.NEXT_PUBLIC_BANDADA_DASHBOARD_URL}/credentials?group=${groupId}&member=${identityCommitment}&provider=${providerName}&redirect_uri=${process.env.NEXT_PUBLIC_APP_URL}`
)