From b84d02b5a1d9d537b40221cdfedb39d48024e6a4 Mon Sep 17 00:00:00 2001 From: Prince Muel Date: Sun, 30 Apr 2023 12:56:33 +0100 Subject: [PATCH] chore: remove unnecessary imports References: #51, #48 Signed-off-by: Prince Muel --- src/components/templates/invoice.tsx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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 ( - {/* */} -