Skip to content

Commit

Permalink
Setup balance display
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Feb 26, 2024
1 parent 73c28a3 commit 3f54231
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions components/FundAccountSubmitted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,21 @@ export default function FundAccountSubmitted({
result.token
} tokens`}
</div>
<Link
href={`https://${publicConfig.network}.flowdiver.io/account/${result.address}`}
target="_blank"
variant="secondary"
sx={{fontSize: 1}}
>
View Account
</Link>
{publicConfig.network !== 'testnet' ? (

Check failure on line 63 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Replace `'testnet'` with `"testnet"`
<Link

Check failure on line 64 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `··`
href={`https://${publicConfig.network}.flowdiver.io/account/${result.address}`}

Check failure on line 65 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `····`
target="_blank"

Check failure on line 66 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `····`
variant="secondary"

Check failure on line 67 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `····`
sx={{fontSize: 1}}

Check failure on line 68 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `····`
>

Check failure on line 69 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Replace `····················` with `··················`
View Account

Check failure on line 70 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `··`
</Link>

Check failure on line 71 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Replace `····················` with `··················`
) : (
<>

Check failure on line 73 in components/FundAccountSubmitted.tsx

View workflow job for this annotation

GitHub Actions / Static checks (20.x)

Delete `··`
<label>Balance</label>
<div>1000.00</div>
</>
)}
</Flex>
</Box>
</>
Expand Down

0 comments on commit 3f54231

Please sign in to comment.