Skip to content

Commit

Permalink
Update src/Send/SendScreen/SendScreen.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Juliano Lazzarotto <30806844+stackchain@users.noreply.github.com>
  • Loading branch information
banklesss and stackchain committed Aug 8, 2022
1 parent 2b188fb commit 5f6168f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Send/SendScreen/SendScreen.tsx
Expand Up @@ -70,7 +70,7 @@ export const SendScreen = ({
const netInfo = useNetInfo()
const isOnline = netInfo.type !== 'none' && netInfo.type !== 'unknown'

const defaultAssetAvailableAmount = new BigNumber(balance[defaultAsset.identifier] || '0')
const defaultAssetAvailableAmount = new BigNumber(balance[defaultAsset.identifier] ?? 0)
const selectedAssetAvailableAmount = new BigNumber(balance[selectedTokenIdentifier] ?? 0)

const [address, setAddress] = React.useState('')
Expand Down

0 comments on commit 5f6168f

Please sign in to comment.