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: [