Skip to content

Commit

Permalink
Fix: revert trade-store.ts auto-formating
Browse files Browse the repository at this point in the history
  • Loading branch information
lubega-deriv authored Nov 15, 2024
1 parent d5f1b3b commit 8be183a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trader/src/Stores/Modules/Trading/trade-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ export default class TradeStore extends BaseStore {
const is_crypto = isCryptocurrency(this.currency ?? '');
const default_crypto_value = getMinPayout(this.currency ?? '') ?? '';
this.setV2ParamsInitialValues({
value: is_crypto ? default_crypto_value : (this.default_stake ?? ''),
value: is_crypto ? default_crypto_value : this.default_stake ?? '',
name: 'stake',
});
obj_new_values.amount = is_crypto ? default_crypto_value : this.default_stake;
Expand Down

0 comments on commit 8be183a

Please sign in to comment.