From 441fa31cb694717ad21e7b2b75204b577d7c5166 Mon Sep 17 00:00:00 2001 From: rachel4w2 Date: Mon, 27 Nov 2023 01:57:45 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=ED=86=A0=EA=B8=80=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EB=B0=98=EB=8C=80=EB=A1=9C=20=EC=9E=91=EB=8F=99?= =?UTF-8?q?=ED=95=98=EB=8A=94=20=ED=98=84=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/recruitment/main/ToggleButton.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/src/components/recruitment/main/ToggleButton.tsx b/frontend/src/components/recruitment/main/ToggleButton.tsx index ed4a171..09d9be8 100644 --- a/frontend/src/components/recruitment/main/ToggleButton.tsx +++ b/frontend/src/components/recruitment/main/ToggleButton.tsx @@ -1,26 +1,17 @@ -import { useEffect, useState } from 'react' import { useRecoilState } from 'recoil' import { recruitfilterState } from '../../../utils/atoms' import '../../../../public/css/toggle-button.css' export default function ToggleButton() { const [recruitFilter, setRecruitFilter] = useRecoilState(recruitfilterState) - const [recruiting, setRecruiting] = useState(false) const handleToggle = () => { - setRecruiting(!recruiting) setRecruitFilter(!recruitFilter) } - useEffect(() => { - // if (recruitFilter === true) { - // handleToggle() - // } - }, []) - return ( )