fix: fix build error #62

Merged
swyoo merged 1 commits from feature/survey into dev 2025-06-05 13:49:48 +09:00
Showing only changes of commit f06b7cf0ac - Show all commits

View File

@ -175,10 +175,9 @@ export function useSurvey(id?: number): {
})
return resp.data.id ?? 0
},
onSuccess: (data) => {
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ['survey', 'list'] })
queryClient.invalidateQueries({ queryKey: ['survey', id] })
return data
},
})