Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Sep 10, 2024
1 parent a47bf40 commit 7a77483
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ const PairingAlert: React.FC<React.PropsWithChildren<AlertConfig>> = (props) =>
const serializer = new Serializer()
props.pairingPayload
?.p2pSyncCode()
.then(async (code) => setP2pPayload(await serializer.serialize(code)))
.then(async (req) => setP2pPayload(await serializer.serialize(req)))
.catch((err) => console.error(err.message))
props.pairingPayload
?.walletConnectSyncCode()
.then((code) => setWcPayload(code.uri))
.then((req) => setWcPayload(req.uri))
.catch((err) => console.error(err.message))
props.pairingPayload
?.postmessageSyncCode()
.then(async (code) => setPostPayload(await serializer.serialize(code)))
.then(async (req) => setPostPayload(await serializer.serialize(req)))
.catch((err) => console.error(err.message))
}, [])

Expand Down

0 comments on commit 7a77483

Please sign in to comment.