diff --git a/web-ui/.env.production b/web-ui/.env.production index 3e583b454..a41eed525 100644 --- a/web-ui/.env.production +++ b/web-ui/.env.production @@ -1,18 +1,18 @@ NEXT_PUBLIC_CHAIN_ENV="mainnet" -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_QUICKSILVER="http://lcd.quicksilver.zone/" -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_QUICKSILVER="http://rpc.quicksilver.zone/" -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_COSMOSHUB=http://lcd.cosmoshub-4.quicksilver.zone -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_COSMOSHUB=http://rpc.cosmoshub-4.quicksilver.zone -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_OSMOSIS="http://lcd.osmosis-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_OSMOSIS="http://rpc.osmosis-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_STARGAZE="http://lcd.stargaze-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_STARGAZE="http://rpc.stargaze-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_REGEN="http://lcd.regen-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_REGEN="http://rpc.regen-1.quicksilver.zone" -NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_SOMMELIER="http://lcd.sommelier-3.quicksilver.zone" -NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_SOMMELIER="http://rpc.sommelier-3.quicksilver.zone" -NEXT_PUBLIC_QUICKSILVER_API="http://lcd.quicksilver.zone" -NEXT_PUBLIC_QUICKSILVER_DATA_API="http://data.quicksilver.zone" +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_QUICKSILVER="https://lcd.quicksilver.zone/" +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_QUICKSILVER="https://rpc.quicksilver.zone/" +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_COSMOSHUB=https://lcd.cosmoshub-4.quicksilver.zone +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_COSMOSHUB=https://rpc.cosmoshub-4.quicksilver.zone +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_OSMOSIS="https://lcd.osmosis-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_OSMOSIS="https://rpc.osmosis-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_STARGAZE="https://lcd.stargaze-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_STARGAZE="https://rpc.stargaze-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_REGEN="https://lcd.regen-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_REGEN="https://rpc.regen-1.quicksilver.zone" +NEXT_PUBLIC_MAINNET_LCD_ENDPOINT_SOMMELIER="https://lcd.sommelier-3.quicksilver.zone" +NEXT_PUBLIC_MAINNET_RPC_ENDPOINT_SOMMELIER="https://rpc.sommelier-3.quicksilver.zone" +NEXT_PUBLIC_QUICKSILVER_API="https://lcd.quicksilver.zone" +NEXT_PUBLIC_QUICKSILVER_DATA_API="https://data.quicksilver.zone" ZONE_URL="quicksilver.zone" REACT_APP_WHITELISTED_ZONES="osmosis-1,stargaze-1,regen-1,cosmoshub-4,sommelier-3" REACT_APP_ENABLE_UNBONDING="true" diff --git a/web-ui/components/Assets/modals/qckDepositModal.tsx b/web-ui/components/Assets/modals/qckDepositModal.tsx index d97027390..021d9d8cf 100644 --- a/web-ui/components/Assets/modals/qckDepositModal.tsx +++ b/web-ui/components/Assets/modals/qckDepositModal.tsx @@ -188,6 +188,7 @@ export function DepositModal() { minW="100px" mr={3} onClick={onSubmitClick} + disabled={!amount} > {isLoading === true && } {isLoading === false && 'Deposit'} diff --git a/web-ui/components/Assets/modals/qckWithdrawModal.tsx b/web-ui/components/Assets/modals/qckWithdrawModal.tsx index 30d28c367..9b1f3cdae 100644 --- a/web-ui/components/Assets/modals/qckWithdrawModal.tsx +++ b/web-ui/components/Assets/modals/qckWithdrawModal.tsx @@ -186,6 +186,7 @@ export function WithdrawModal() { mr={3} minW="100px" onClick={onSubmitClick} + disabled={Number.isNaN(Number(amount))} > {isLoading === true && } {isLoading === false && 'Withdraw'}