From bf138dad791fb00b06cfd8adda97da8373371c31 Mon Sep 17 00:00:00 2001 From: Sam Nesler Date: Fri, 15 Nov 2024 15:29:44 -0600 Subject: [PATCH] [fix] Fix failing build --- src/pages/AdminCRUD.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/AdminCRUD.tsx b/src/pages/AdminCRUD.tsx index 39907ae..3ce74ce 100644 --- a/src/pages/AdminCRUD.tsx +++ b/src/pages/AdminCRUD.tsx @@ -4,7 +4,6 @@ import { addDocWithTimestamp, setDocWithTimestamp, deleteDocWithTimestamp } from import LoadingOverlay from '@/components/LoadingOverlay' import { SketchPicker } from 'react-color' import { Category, Type, DB } from '@/types' -import { useNavigate } from 'react-router-dom' interface CrudProps { firestore: Firestore @@ -12,8 +11,6 @@ interface CrudProps { } const AdminCRUD: React.FC = ({ firestore, data }) => { - const navigate = useNavigate() - const [isLoading, setIsLoading] = useState(false) const [showAddEntity, setShowAddEntity] = useState(false) const [addEntityName, setAddEntityName] = useState('')