From fc9fcdd4a5500ec8ffe58b192d6fc408db70fcea Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Mon, 2 Sep 2019 16:32:26 +0200 Subject: [PATCH] Update fixtures --- src/attributes/fixtures.ts | 6 ++---- .../stories/attributes/AttributeValueEditDialog.tsx | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/attributes/fixtures.ts b/src/attributes/fixtures.ts index 118cf9936..4c236da3a 100644 --- a/src/attributes/fixtures.ts +++ b/src/attributes/fixtures.ts @@ -22,16 +22,14 @@ export const attribute: AttributeDetailsFragment = { id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0", name: "John Doe", slug: "john-doe", - type: AttributeValueType.STRING, - value: "" + type: AttributeValueType.STRING }, { __typename: "AttributeValue" as "AttributeValue", id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1", name: "Milionare Pirate", slug: "milionare-pirate", - type: AttributeValueType.STRING, - value: "" + type: AttributeValueType.STRING } ], visibleInStorefront: true diff --git a/src/storybook/stories/attributes/AttributeValueEditDialog.tsx b/src/storybook/stories/attributes/AttributeValueEditDialog.tsx index a04afb0cd..77d5d6821 100644 --- a/src/storybook/stories/attributes/AttributeValueEditDialog.tsx +++ b/src/storybook/stories/attributes/AttributeValueEditDialog.tsx @@ -12,8 +12,7 @@ import Decorator from "../../Decorator"; const props: AttributeValueEditDialogProps = { attributeValue: { ...attribute.values[0], - type: AttributeValueType.STRING, - value: "" + type: AttributeValueType.STRING }, confirmButtonState: "default", disabled: false,