Skip to content

Commit

Permalink
run lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Feb 27, 2024
1 parent c8874b6 commit c41da49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/FundAccountSubmitted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export default function FundAccountSubmitted({
}

const balanceScript =
publicConfig.network === "previewnet" && addressType === "FLOWEVM"
? `import EVM from ${publicConfig.contractEVM}
publicConfig.network === "previewnet" && addressType === "FLOWEVM"
? `import EVM from ${publicConfig.contractEVM}
/// Returns the Flow balance of a given EVM address in FlowEVM
///
Expand All @@ -80,7 +80,7 @@ export default function FundAccountSubmitted({
]
return EVM.EVMAddress(bytes: addressBytes).balance().inFLOW()
}`
: `import FungibleToken from ${publicConfig.contractFungibleToken}
: `import FungibleToken from ${publicConfig.contractFungibleToken}
import FlowToken from ${publicConfig.contractFlowToken}
access(all) fun main(account: Address): UFix64 {
Expand Down Expand Up @@ -111,7 +111,7 @@ access(all) fun main(account: Address): UFix64 {
}

fetchBalance(result.address)
}, [result, balanceScript])
}, [result])

return (
<>
Expand Down

0 comments on commit c41da49

Please sign in to comment.