Skip to content

Commit

Permalink
Fixed lints
Browse files Browse the repository at this point in the history
  • Loading branch information
naheyansheikh committed Dec 4, 2024
1 parent f0e82f0 commit a977dd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/UploadPhoto/PreviewSection.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import {
ChevronDoubleRightIcon,
PencilSquareIcon,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/UploadPhoto/UploadArea.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { PhotoIcon } from "@heroicons/react/24/solid";
import "./UploadArea.css";

Expand Down
9 changes: 1 addition & 8 deletions frontend/src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -25,10 +22,6 @@ function MainContent() {
const [setSelectedLog] = useState(null);
const { session } = useAuth();

const handleCreateNewLog = () => {
navigate("/upload-photo");
};

const handleAddLogbook = () => {
navigate("/newLog");
};
Expand Down

0 comments on commit a977dd5

Please sign in to comment.