Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Clear input after adding note
dominik-zeglen424a60580e19
diff --git a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsxindex b2c2bb6dc6..1be0a547b8 100644--- a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx@@ -123,7 +123,11 @@ const OrderHistory = decorate<OrderHistoryProps>(<PageHeader title={i18n.t("Order history")} />{history ? (<Timeline>- <Form initial={{ message: "" }} onSubmit={onNoteAdd}>+ <Form+ initial={{ message: "" }}+ onSubmit={onNoteAdd}+ key={JSON.stringify(history)}+ >{({ change, data, submit }) => (<TimelineAddNotemessage={data.message}