Skip to content

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

Update stories

dominik-zeglencd1919eebb0e
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
index b457d806b4..bcdf30716b 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderDetailsPage.tsx
@@ -65,7 +65,6 @@ storiesOf("Views / Orders / Order details", module)
users={clients}
variants={variants}
variantsLoading={false}
- fetchShippingMethods={undefined}
fetchUsers={undefined}
fetchVariants={undefined}
{...callbacks}
@@ -81,7 +80,6 @@ storiesOf("Views / Orders / Order details", module)
users={clients}
variants={variants}
variantsLoading={false}
- fetchShippingMethods={undefined}
fetchUsers={undefined}
fetchVariants={undefined}
{...callbacks}
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx
index 196b9705d3..fa6c21d118 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderShippingMethodEditDialog.tsx
@@ -14,15 +14,11 @@ storiesOf("Orders / OrderShippingMethodEditDialog", module)
.addDecorator(Decorator)
.add("default", () => (
<OrderShippingMethodEditDialog
- fetchShippingMethods={undefined}
onChange={undefined}
onClose={undefined}
onConfirm={undefined}
open={true}
- shippingMethod={{
- label: order.shippingMethodName,
- value: order.shippingMethod.id
- }}
+ shippingMethod={order.shippingMethod.id}
shippingMethods={shippingMethods}
/>
));