fix: fix build error #62

Merged
swyoo merged 1 commits from feature/survey into dev 2025-06-05 13:49:48 +09:00

View File

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