Skip to content

Commit

Permalink
fix: empty initial stake amount
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-deriv committed Oct 25, 2024
1 parent 0080e2f commit b690587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/pages/form/form-component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export const FormComponent = () => {
return moment(endtime_data.options[0].value).format('ddd - DD MMM, YYYY');
};

const getAmount = () => (isCryptocurrency(currency) && amount_crypto) ? amount_crypto : amount;
const getAmount = () => (isCryptocurrency(currency)) ? amount_crypto : amount;

const lang = Cookies.get('language').replace('_','-').toLowerCase() || 'en';

Expand Down

0 comments on commit b690587

Please sign in to comment.