From 0432da76ba03b4fadad2579e5d700a07dabf34c7 Mon Sep 17 00:00:00 2001 From: "Brian.Jiang2021" Date: Wed, 5 Jul 2023 09:04:35 +0800 Subject: [PATCH] feat: invoice action --- apps/storefront/src/pages/invoice/Invoice.tsx | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/storefront/src/pages/invoice/Invoice.tsx b/apps/storefront/src/pages/invoice/Invoice.tsx index 99a4c972..459ab6eb 100644 --- a/apps/storefront/src/pages/invoice/Invoice.tsx +++ b/apps/storefront/src/pages/invoice/Invoice.tsx @@ -1,4 +1,4 @@ -import { ReactElement, useContext, useEffect, useRef, useState } from 'react' +import { useContext, useEffect, useRef, useState } from 'react' import { useLocation, useNavigate } from 'react-router-dom' import globalB3 from '@b3/global-b3' import { @@ -34,7 +34,7 @@ import PaymentSuccess from './components/PaymentSuccess' import PrintTempalte from './components/PrintTempalte' import InvoiceListType, { filterFormConfig, sortIdArr } from './utils/config' import { handlePrintPDF } from './utils/pdf' -import { InvoiceItemCard } from './InvoiceItemCard' +// import { InvoiceItemCard } from './InvoiceItemCard' export interface FilterSearchProps { [key: string]: string | number | null @@ -638,23 +638,23 @@ function Invoice() { sortByFn={handleSetOrderBy} isSelectOtherPageCheckbox hover - renderItem={( - row: InvoiceList, - index?: number, - checkBox?: () => ReactElement - ) => ( - - )} + // renderItem={( + // row: InvoiceList, + // index?: number, + // checkBox?: () => ReactElement + // ) => ( + // + // )} /> {list.length > 0 && !isMobile && (