Skip to content

Commit

Permalink
remove @ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
uncoolzero committed Oct 12, 2024
1 parent 9279216 commit 41e1234
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions projects/ui/src/pages/l1delegate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,13 @@ export default function L1Delegate() {
address: beanstalkL1Address as `0x${string}`,
abi: JSON.parse(beanstalkL1MiniAbi.format(ethers.utils.FormatTypes.json) as string),
functionName: "getExternalBalance",
// @ts-ignore
args: [account, beanL1Address]
args: [(account || ''), beanL1Address]
},
{
address: beanL1Address as `0x${string}`,
abi: JSON.parse(beanL1MiniAbi.format(ethers.utils.FormatTypes.json) as string),
functionName: "allowance",
// @ts-ignore
args: [account, beanstalkL1Address]
args: [(account || ''), beanstalkL1Address]
},
],
query: {
Expand Down

0 comments on commit 41e1234

Please sign in to comment.