diff --git a/src/components/templates/invoice.tsx b/src/components/templates/invoice.tsx index 289a4c1..ef5816d 100755 --- a/src/components/templates/invoice.tsx +++ b/src/components/templates/invoice.tsx @@ -15,7 +15,7 @@ import { useNavigate, useParams, } from 'react-router-dom'; -import { Details } from '../organisms'; +import { InvoiceDetails } from '../organisms'; interface Props {} @@ -24,8 +24,9 @@ const InvoiceTemplate = (props: Props) => { const location = useLocation(); if (!invoiceId) { - return ; + return ; } + const navigate = useNavigate(); const queryClient = useQueryClient(); @@ -94,20 +95,10 @@ const InvoiceTemplate = (props: Props) => { return ( - {/* */} -