Skip to content

Commit

Permalink
chore(types): fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Sep 6, 2024
1 parent ab4d697 commit d799664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const connectWallet = async () => {
const wallet = await makeAgoricWalletConnection(watcher, ENDPOINTS.RPC);
useAppStore.setState({ wallet });
const { pursesNotifier } = wallet;
for await (const purses of subscribeLatest(pursesNotifier)) {
for await (const purses of subscribeLatest<Purse[]>(pursesNotifier)) {
console.log('got purses', purses);
useAppStore.setState({ purses });
}
Expand Down

0 comments on commit d799664

Please sign in to comment.