Skip to content

Commit

Permalink
Update apps/wallet-mobile/src/features/Exchange/useCases/CreateExchan…
Browse files Browse the repository at this point in the history
…geOrderScreen/CreateExchangeButton/CreateExchangeButton.tsx

Co-authored-by: Juliano Lazzarotto <[email protected]>
Signed-off-by: banklesss <[email protected]>
  • Loading branch information
banklesss and stackchain authored Aug 2, 2024
1 parent e916234 commit 27af199
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ export const CreateExchangeButton = ({
const isBuy = orderType === 'buy'

const title =
isPreprod && orderType === 'buy'
? strings.createOrderPreprodFaucetButtonText
: isSancho && orderType === 'buy'
? strings.createOrderSanchonetFaucetButtonText
isBuy
? isPreprod
? strings.createOrderPreprodFaucetButtonText
: isSancho
? strings.createOrderSanchonetFaucetButtonText
: strings.proceed
: strings.proceed

const handleOnPress = () => {
Expand Down

0 comments on commit 27af199

Please sign in to comment.