Skip to content

Commit

Permalink
Update web3-context.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarWarang authored Nov 21, 2023
1 parent 474b1c2 commit 204b246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pages/ecosystem/widget/web3-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const Web3ContextProvider = ({ children }) => {

const accounts = await Promise.all(
allAccounts.map(async (a) => {
const accountInfo = (await api.query.system.account(a.address)) as AccountInfo;
const accountInfo = (await api.query.system.account(a.address)) as unknown as AccountInfo;
const amount = accountInfo.data.free;

return {
Expand Down

0 comments on commit 204b246

Please sign in to comment.