From 7f5f0c056c2254b7c79d45701860e534d807eca6 Mon Sep 17 00:00:00 2001 From: Dawid Tarasiuk Date: Tue, 23 Jun 2020 11:19:21 +0200 Subject: [PATCH] Fix imports --- src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx | 3 +-- src/orders/fixtures.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx b/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx index fb8f0877c..5cb9ea73d 100644 --- a/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx +++ b/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx @@ -15,8 +15,7 @@ import TableCellHeader from "@saleor/components/TableCellHeader"; import { buttonMessages } from "@saleor/intl"; import { InvoiceFragment } from "@saleor/orders/types/InvoiceFragment"; import React from "react"; -import { useIntl } from "react-intl"; -import { FormattedMessage } from "react-intl"; +import { FormattedMessage, useIntl } from "react-intl"; const useStyles = makeStyles( () => ({ diff --git a/src/orders/fixtures.ts b/src/orders/fixtures.ts index 81ffdc27c..b12581691 100644 --- a/src/orders/fixtures.ts +++ b/src/orders/fixtures.ts @@ -920,7 +920,7 @@ export const order = (placeholder: string): OrderDetails_order => ({ createdAt: "2020-06-22T13:52:05.094636+00:00", id: "SW52b2ljZTox", number: "1", - url: "anything" + url: "invoice1" } ], lines: [ @@ -1061,7 +1061,7 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({ createdAt: "2020-06-22T13:52:05.094636+00:00", id: "SW52b2ljZTox", number: "1", - url: "anything" + url: "invoice1" } ], lines: [