Compare commits

..

No commits in common. "1db17d6558490738e5e01d9e1005144f1f1580cd" and "afb67c6b36ac44f1ee27c76366cacfa27aedf6f6" have entirely different histories.

2 changed files with 17 additions and 18 deletions

View File

@ -19,7 +19,6 @@ export default function SuitableDetailPopupButton() {
}
return (
<div className="float-btn-wrap">
<div className="btn-flex-wrap com">
<div className="btn-bx">
<button className="btn-frame n-blue icon" onClick={handleClosePopup}>
@ -37,6 +36,5 @@ export default function SuitableDetailPopupButton() {
</button>
</div>
</div>
</div>
)
}

View File

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