Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed May 22, 2024
1 parent da60f9f commit bb2e709
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/docs/getting-started/subscribe-to-active-account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ dAppClient.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, async (account) => {
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
});
```
Expand All @@ -120,9 +120,9 @@ wallet.client.subscribeToEvent(
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
},
);
Expand Down Expand Up @@ -221,9 +221,9 @@ dAppClient.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, async (account) => {
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
});
```
Expand All @@ -249,9 +249,9 @@ wallet.client.subscribeToEvent(
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
},
);
Expand Down Expand Up @@ -310,9 +310,9 @@ dAppClient.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, async (account) => {
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
});
```
Expand Down Expand Up @@ -355,9 +355,9 @@ wallet.client.subscribeToEvent(
payload:
"05010000004254657a6f73205369676e6564204d6573736167653a207465737455726c20323032332d30322d30385431303a33363a31382e3435345a2048656c6f20576f726c64",
});
} catch (err) {
} catch (err: any) {
// The request was rejected
// Abort
// handle disconnection
}
},
);
Expand Down

0 comments on commit bb2e709

Please sign in to comment.