From dc2369e3d24f8ed9bab7ae1cf88fe3f7ddbc24d7 Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 22 Feb 2021 13:15:16 +0800 Subject: [PATCH] frontend: fix grid amount setting --- frontend/components/ConfigureGridStrategyForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/ConfigureGridStrategyForm.js b/frontend/components/ConfigureGridStrategyForm.js index 6babf0d71..84bed3aca 100644 --- a/frontend/components/ConfigureGridStrategyForm.js +++ b/frontend/components/ConfigureGridStrategyForm.js @@ -163,7 +163,7 @@ export default function ConfigureGridStrategyForm({onBack, onAdded}) { break; case "fixedAmount": - payload.orderAmount = parseFloatValid(fixedAmount); + payload.amount = parseFloatValid(fixedAmount); break; }