Skip to content

Commit

Permalink
Conf: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
SKY-PEY committed Jan 16, 2024
1 parent cd943a7 commit 808ea9d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Avatar, Checkbox } from "@chakra-ui/react";
import { useRecoilState } from "recoil";
import { useSetRecoilState } from "recoil";

import styles from "./CandidateList.module.scss";

Expand All @@ -16,9 +16,7 @@ const CandidateList = ({
showResults,
isCandidateSelecting,
}: CandidateListProps) => {
const [selectedCandidates, setSelectedCandidates] = useRecoilState(
selectedCandidatesState,
);
const setSelectedCandidates = useSetRecoilState(selectedCandidatesState);

const addCandidateInSelectedList = (id: number) => {
setSelectedCandidates((currentCandidatesSet) => {
Expand Down

0 comments on commit 808ea9d

Please sign in to comment.