chore(trading): dont show faucet button until connected (#3251)

This commit is contained in:
Matthew Russell 2023-03-24 17:06:22 -07:00 committed by GitHub
parent 58c6652e29
commit 8693f3bfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ export const DepositForm = ({
{errors.asset.message} {errors.asset.message}
</InputError> </InputError>
)} )}
{isFaucetable && selectedAsset && ( {isActive && isFaucetable && selectedAsset && (
<UseButton onClick={submitFaucet}> <UseButton onClick={submitFaucet}>
{t(`Get ${selectedAsset.symbol}`)} {t(`Get ${selectedAsset.symbol}`)}
</UseButton> </UseButton>