From d47a247edeefccb3ec4fbd66fa5b85df2a69ae07 Mon Sep 17 00:00:00 2001 From: JJIIIINN Date: Wed, 12 Jul 2023 12:31:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=95=99=EC=83=9D=20=ED=83=9C=EA=B7=B8?= =?UTF-8?q?=20refetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/admin/src/components/main/StudentList.tsx | 2 +- services/admin/src/components/modals/GiveAllTagModal.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/admin/src/components/main/StudentList.tsx b/services/admin/src/components/main/StudentList.tsx index 3af0f8d..5c60e76 100644 --- a/services/admin/src/components/main/StudentList.tsx +++ b/services/admin/src/components/main/StudentList.tsx @@ -289,7 +289,7 @@ export function StudentList({ {modalState.selectedModal === 'GIVE_TAG_OPTIONS' && ( void; + refetchSearchStudents: () => void; selectedTag: string; setSelectedTag: Dispatch>; setTagModal: Dispatch>; @@ -38,7 +38,7 @@ interface Colors { export function GiveAllTagModal({ allTags, - refetchAllTags, + refetchSearchStudents, selectedTag, setSelectedTag, setTagModal, @@ -98,7 +98,7 @@ export function GiveAllTagModal({ const addTagAPI = useAddTag(addTag.addTagName, selectedColor, { onSuccess: () => { - refetchAllTags(); + refetchSearchStudents(); setselectedColor(''); setAddTag({ addTagName: '' }); setNewItem(true);