diff --git a/frontend/src/components/UploadPhoto/PreviewSection.jsx b/frontend/src/components/UploadPhoto/PreviewSection.jsx index 6b53b517..f86634e5 100644 --- a/frontend/src/components/UploadPhoto/PreviewSection.jsx +++ b/frontend/src/components/UploadPhoto/PreviewSection.jsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import { useState } from "react"; import { ChevronDoubleRightIcon, PencilSquareIcon, diff --git a/frontend/src/components/UploadPhoto/UploadArea.jsx b/frontend/src/components/UploadPhoto/UploadArea.jsx index 1a70e7cd..b398a69a 100644 --- a/frontend/src/components/UploadPhoto/UploadArea.jsx +++ b/frontend/src/components/UploadPhoto/UploadArea.jsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import { useState } from "react"; import { PhotoIcon } from "@heroicons/react/24/solid"; import "./UploadArea.css"; diff --git a/frontend/src/pages/home/Home.jsx b/frontend/src/pages/home/Home.jsx index e4c65fa0..05802376 100644 --- a/frontend/src/pages/home/Home.jsx +++ b/frontend/src/pages/home/Home.jsx @@ -1,8 +1,5 @@ import { useState } from "react"; -import { - CLButtonPrimary, - CLButtonSecondary, -} from "../../components/Buttons/CLButtons"; +import { CLButtonSecondary } from "../../components/Buttons/CLButtons"; import { useNavigate } from "react-router-dom"; import LogBooks from "../../assets/images/logbooks.png"; import ShopLogBooks from "../../assets/images/ShopLogBooks.png"; @@ -25,10 +22,6 @@ function MainContent() { const [setSelectedLog] = useState(null); const { session } = useAuth(); - const handleCreateNewLog = () => { - navigate("/upload-photo"); - }; - const handleAddLogbook = () => { navigate("/newLog"); };