Skip to content

Commit

Permalink
chore: set trade_store to the correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-deriv committed Jul 5, 2023
1 parent 662ee6a commit 4deb8b1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const MultiplierAmountModal = observer(({ is_open, toggleModal }) => {
export default MultiplierAmountModal;

const TradeParamsMobile = observer(({ toggleModal }) => {
const { amount, currency, trade_stop_out, trade_store } = useTraderStore();
const trade_store = useTraderStore();
const { amount, currency, trade_stop_out } = trade_store;

const [stake_value, setStakeValue] = React.useState(amount);
const [commission, setCommission] = React.useState(null);
Expand Down

0 comments on commit 4deb8b1

Please sign in to comment.