Skip to content

Commit

Permalink
style: unused import 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaemin-L committed Feb 15, 2024
1 parent 248feda commit 71f3ae7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/comment/comment-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const CommentFormPage = () => {
const data = useLocation().state as GetOnePostType;
const [nickname, setNickname] = useState<string>("");
const [image, setImage] = useState<string>("");
const [content, setContent] = useState<string>("");
const [openCrop, setOpenCrop] = useState(false);
const [height, setHeight] = useState("");
const { compressImage } = useImageCompress();
Expand All @@ -39,7 +38,6 @@ export const CommentFormPage = () => {
useEffect(() => {
setNickname(sessionStorage.getItem("comment_nickname") ?? "");
setImage(sessionStorage.getItem("comment_image") ?? "");
setContent(sessionStorage.getItem("comment_content") ?? "");
}, []);

useEffect(() => {
Expand Down
1 change: 0 additions & 1 deletion src/hooks/api/main/useApiGetPostState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useQuery } from "@tanstack/react-query";
import Cookies from "js-cookie";

import { api } from "@/api";

Expand Down

0 comments on commit 71f3ae7

Please sign in to comment.