fix(dashboard): Hide note input on orders (#9555)

**What**
- Hides the input for notes on the order details page.
- Should be re-added once we have support, so I have just commented out the component.
This commit is contained in:
Kasper Fabricius Kristensen
2024-10-14 12:10:33 +02:00
committed by GitHub
parent 3edb5d3470
commit 089d4af301

View File

@@ -1,7 +1,6 @@
import { AdminOrder } from "@medusajs/types"
import { Container, Heading } from "@medusajs/ui"
import { useTranslation } from "react-i18next"
import { OrderNoteForm } from "./order-note-form"
import { OrderTimeline } from "./order-timeline"
type OrderActivityProps = {
@@ -17,7 +16,8 @@ export const OrderActivitySection = ({ order }: OrderActivityProps) => {
<div className="flex items-center justify-between">
<Heading level="h2">{t("orders.activity.header")}</Heading>
</div>
<OrderNoteForm order={order} />
{/* TODO: Re-add when we have support for notes */}
{/* <OrderNoteForm order={order} /> */}
</div>
<OrderTimeline order={order} />
</Container>