Skip to content

Commit

Permalink
fix: destructuring of response data
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzkirstein committed Feb 27, 2024
1 parent 059ed17 commit c0d05e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/@shared/NetworkStatus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function NetworkStatus({
}
})
const { Nodes } = result.data
const nodes: { [node: string]: number } = { Nodes }
const { nodes }: { nodes: { [node: string]: number } } = Nodes
let minBlock: number
let maxBlock: number
Object.values(nodes).forEach((block) => {
Expand Down

0 comments on commit c0d05e8

Please sign in to comment.