Skip to content

Commit

Permalink
fix(ui-ux): convert screen continue button (#4118)
Browse files Browse the repository at this point in the history
  • Loading branch information
chloezxyy authored Nov 1, 2023
1 parent b320ad0 commit a56af17
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import {
import { useWhaleApiClient } from "@waveshq/walletkit-ui/dist/contexts";
import { RootState } from "@store";
import {
hasTxQueued,
hasOceanTXQueued,
hasTxQueued,
tokensSelector,
} from "@waveshq/walletkit-ui/dist/store";
import { getColor, tailwind } from "@tailwind";
Expand All @@ -41,8 +41,8 @@ import { getNativeIcon } from "@components/icons/assets";
import { EVMLinearGradient } from "@components/EVMLinearGradient";
import { PortfolioParamList } from "../PortfolioNavigator";
import {
TokenListType,
SelectionToken,
TokenListType,
} from "../../Dex/CompositeSwap/SwapTokenSelectionScreen";
import { useTokenPrice } from "../hooks/TokenPrice";
import { DomainToken, useTokenBalance } from "../hooks/TokenBalance";
Expand Down Expand Up @@ -632,7 +632,8 @@ export function ConvertScreen(props: Props): JSX.Element {
disabled={
!canConvert(convAmount, sourceToken.available) ||
hasPendingJob ||
hasPendingBroadcastJob
hasPendingBroadcastJob ||
targetToken === undefined
}
styleProps="w-full"
onPress={() => convert(sourceToken, targetToken)}
Expand Down

0 comments on commit a56af17

Please sign in to comment.