Skip to content

Commit

Permalink
chore : 탭 전환시 데이터 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuna committed Jun 28, 2024
1 parent a4818e2 commit 1d6ce8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/outAccept/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ const OutAccept = () => {
const [acmodal, setAcModal] = useState<boolean>(false);
const [nomodal, setNomodal] = useState<boolean>(false);
const { selectedStudents, selectedStudentName, handleAcceptListClick } =
useAccepListSelection();
useAccepListSelection();
const { mutate: outAcceptMutate } = GetClass();
const { mutate: AcceptMutate } = OutAcceptApi();

useEffect(() => {
AcceptDataList();
setApplicationData([]);
}, [selectedTab]);

useEffect(() => {
Expand Down

0 comments on commit 1d6ce8d

Please sign in to comment.