From 1446a993a5a3b06e230e365ae1bddd7e93f92240 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Tue, 17 Mar 2020 19:01:38 +0100 Subject: [PATCH] Update stories --- src/components/CountryList/CountryList.tsx | 6 +- .../ShippingZoneCreatePage.tsx | 1 + .../ShippingZoneDetailsPage.tsx | 8 +- .../ShippingZoneInfo/ShippingZoneInfo.tsx | 3 + .../ShippingZoneRates/ShippingZoneRates.tsx | 2 +- .../__snapshots__/Stories.test.ts.snap | 218 ++++++++++++++++-- .../shipping/ShippingZoneCreatePage.tsx | 12 +- .../shipping/ShippingZoneDetailsPage.tsx | 11 +- 8 files changed, 235 insertions(+), 26 deletions(-) diff --git a/src/components/CountryList/CountryList.tsx b/src/components/CountryList/CountryList.tsx index a47bf996c..91f14550e 100644 --- a/src/components/CountryList/CountryList.tsx +++ b/src/components/CountryList/CountryList.tsx @@ -15,7 +15,7 @@ import { FormattedMessage } from "react-intl"; import CardTitle from "@saleor/components/CardTitle"; import ResponsiveTable from "@saleor/components/ResponsiveTable"; import Skeleton from "@saleor/components/Skeleton"; -import { maybe, renderCollection } from "../../misc"; +import { maybe, renderCollection, getStringOrPlaceholder } from "../../misc"; import { CountryFragment } from "../../taxes/types/CountryFragment"; export interface CountryListProps { @@ -98,7 +98,7 @@ const CountryList: React.FC = props => { + + + +
+
+
+
+ + + + + + + +
+ 0 Countries + + +
+
+
+
+ + + + + +`; + exports[`Storyshots Views / Shipping / Shipping zone details default 1`] = `
@@ -120901,8 +121087,9 @@ exports[`Storyshots Views / Shipping / Shipping zone details form errors 1`] = ` class="CardTitle-toolbar-id" >