Skip to content

Commit 01a3284

Browse files
committed
fix: [FN-316] 그룹 상세 정보 revalidate 안되는 현상 수정
1 parent f4c4921 commit 01a3284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/group-detail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const GroupDetailPage = ({ id }: Props) => {
7575
onSuccess: () => {
7676
window.alert(`${groupData?.name} 그룹에 가입했습니다.`);
7777
queryClient.invalidateQueries({
78-
queryKey: ["group", "members", groupId],
78+
queryKey: ["group"],
7979
});
8080
},
8181
onError: (error: ApiError) => {

0 commit comments

Comments
 (0)