Skip to content

Commit

Permalink
fix: delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ymj07168 committed Oct 30, 2024
1 parent 906e2c6 commit 162b577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 2 additions & 9 deletions src/components/challenge/ProblemCard.jsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
import React from "react";
import { Button, Skeleton } from "@mui/material";
import { Button } from "@mui/material";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

import { faMedal } from "@fortawesome/free-solid-svg-icons";
import { useNavigate, useParams } from "react-router-dom";

const ProblemCard = ({
problemId,
title,
site,
siteKinds,
level,
isLoading,
}) => {
const ProblemCard = ({ problemId, title, site, siteKinds, level }) => {
const { challengeId } = useParams();
const navigate = useNavigate();

Expand Down
2 changes: 0 additions & 2 deletions src/components/common/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ import {
faX,
faCaretDown,
} from "@fortawesome/free-solid-svg-icons";
import { useAuth } from "../../hooks/useAuth";
import { useNavigate } from "react-router-dom";
import { useMediaQuery } from "@mui/material";
import { getCookie, removeCookie } from "../../api/cookie";
import { useGetUserInfo } from "../../hooks/useGetUserInfo";

const Header = () => {
const { isLoggedIn } = useAuth();
const navigate = useNavigate();
const [modal, setModal] = React.useState(false);
const [anchorEl, setAnchorEl] = React.useState(null);
Expand Down

0 comments on commit 162b577

Please sign in to comment.