Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update stories

dominik-zeglen9bcaae6673f7
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
index 21fe78fab4..045a49ee60 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
@@ -25,6 +25,7 @@ const orderWithoutPayment = orderFixture(placeholderImage, {
const callbacks = {
onBack: () => undefined,
onCreate: undefined,
+ onNoteAdd: undefined,
onOrderCancel: undefined,
onOrderFulfill: undefined,
onOrderLineChange: () => () => () => undefined,
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx
index 6a39cd7e1d..cacc358259 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderHistory.tsx
@@ -11,6 +11,7 @@ storiesOf("Orders / OrderHistory", module)
.addDecorator(Decorator)
.add("default", () => (
<OrderHistory
+ onNoteAdd={undefined}
user={{ email: "[email protected]" }}
history={order.events}
/>