Skip to content

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

Update stories

dominik-zeglenb4b59c42c390
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
index 295eb54731..70a08b223f 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
@@ -11,7 +11,9 @@ storiesOf("Views / Orders / Order list", module)
.add("default", () => (
<OrderListPage orders={orders} {...pageListProps.default} />
))
- .add("loading", () => <OrderListPage {...pageListProps.loading} />)
+ .add("loading", () => (
+ <OrderListPage orders={undefined} {...pageListProps.loading} />
+ ))
.add("when no data", () => (
<OrderListPage orders={[]} {...pageListProps.default} />
));