diff --git a/app/javascript/src/pages/Orders/Exchange/ExchangePanel/ExchangePanel.tsx b/app/javascript/src/pages/Orders/Exchange/ExchangePanel/ExchangePanel.tsx index 4972a9a..658bb30 100644 --- a/app/javascript/src/pages/Orders/Exchange/ExchangePanel/ExchangePanel.tsx +++ b/app/javascript/src/pages/Orders/Exchange/ExchangePanel/ExchangePanel.tsx @@ -128,10 +128,8 @@ export const ExchangePanel: FC = ({ } if (exchangeOption === "BUY") { - const [amountCents] = fiatDock.split("."); - commitCreateBuyCryptoOrderMutation(environment, { - amountCents: parseInt(amountCents, 10), + amountCents: parseFloat(fiatDock) * 100, currencyId: crypto.node.currency.id, }); }