Compare commits
4 Commits
afb67c6b36
...
1db17d6558
| Author | SHA1 | Date | |
|---|---|---|---|
| 1db17d6558 | |||
| a23c4cdfd9 | |||
| 5feef03187 | |||
| f06b7cf0ac |
@ -19,6 +19,7 @@ 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}>
|
||||
@ -36,5 +37,6 @@ export default function SuitableDetailPopupButton() {
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@ -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
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user