From 34edfd6c6ff5a1d1aed79e18449ee3052f2b930c Mon Sep 17 00:00:00 2001 From: LSJ Date: Wed, 6 Nov 2024 21:09:30 +0900 Subject: [PATCH] . --- modals/groupStudy/AttendCheckModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modals/groupStudy/AttendCheckModal.tsx b/modals/groupStudy/AttendCheckModal.tsx index dec8751b..628391f9 100644 --- a/modals/groupStudy/AttendCheckModal.tsx +++ b/modals/groupStudy/AttendCheckModal.tsx @@ -2,6 +2,7 @@ import { Button } from "@chakra-ui/react"; import dayjs from "dayjs"; import { useState } from "react"; import styled from "styled-components"; +import { GROUP_STUDY } from "../../constants/keys/queryKeys"; import { useResetQueryData } from "../../hooks/custom/CustomHooks"; import { useCompleteToast } from "../../hooks/custom/CustomToast"; @@ -36,7 +37,7 @@ function AttendCheckModal({ const { mutate } = useGroupAttendMutation(id, { onSuccess() { completeToast("free", "저장되었습니다."); - resetQueryData([GROUP_STUDY_ALL]); + resetQueryData([GROUP_STUDY]); setIsModal(false); }, });