Skip to content

Commit

Permalink
chore(web-components): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Dec 6, 2023
1 parent cf486ae commit 0e894b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/web-components/src/keplr-connection/watchWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ export const watchWallet = async (leader, address, context, rpcs) => {
const watchCurrent = async () => {
let lastPaths;
for await (const { value } of iterateLatest(currentFollower)) {
const { offerToPublicSubscriberPaths: currentPaths } = value;
const { offerToPublicSubscriberPaths: currentPaths } =
/** @type {import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord} */ (
value
);
// eslint-disable-next-line no-continue
if (currentPaths === lastPaths) continue;

Expand Down

0 comments on commit 0e894b8

Please sign in to comment.