Revert "Refactor/fix readme typo (#99)"

This reverts commit c55f3b5c75.
This commit is contained in:
Ben Kremer
2023-01-05 18:22:17 +01:00
parent c55f3b5c75
commit f3a04a8250
8 changed files with 60 additions and 263 deletions
@@ -29,7 +29,6 @@ export default function SessionProposalModal() {
// Get proposal data and wallet address from store
const proposal = ModalStore.state.data?.proposal
console.log('ModalStore.state.data', ModalStore.state.data)
// Ensure proposal is defined
if (!proposal) {
@@ -73,22 +72,11 @@ export default function SessionProposalModal() {
}
})
// await web3wallet.approveSession({
// id,
// relayProtocol: relays[0].protocol,
// namespaces
// })
const session = await web3wallet.approveSession({
await web3wallet.approveSession({
id,
relayProtocol: relays[0].protocol,
namespaces
})
console.log('session: ', session)
console.log('id: ', id)
console.log('relayProtocol: ', relays[0].protocol)
console.log('in SessionProposalModal: namespaces', namespaces)
}
ModalStore.close()
}