Compare commits
4 Commits
afb67c6b36
...
1db17d6558
| Author | SHA1 | Date | |
|---|---|---|---|
| 1db17d6558 | |||
| a23c4cdfd9 | |||
| 5feef03187 | |||
| f06b7cf0ac |
@ -19,21 +19,23 @@ export default function SuitableDetailPopupButton() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="btn-flex-wrap com">
|
<div className="float-btn-wrap">
|
||||||
<div className="btn-bx">
|
<div className="btn-flex-wrap com">
|
||||||
<button className="btn-frame n-blue icon" onClick={handleClosePopup}>
|
<div className="btn-bx">
|
||||||
閉じる<i className="btn-arr"></i>
|
<button className="btn-frame n-blue icon" onClick={handleClosePopup}>
|
||||||
</button>
|
閉じる<i className="btn-arr"></i>
|
||||||
</div>
|
</button>
|
||||||
<div className="btn-bx">
|
</div>
|
||||||
<button className="btn-frame red icon" onClick={downloadSuitablePdf}>
|
<div className="btn-bx">
|
||||||
ウンロード<i className="btn-arr"></i>
|
<button className="btn-frame red icon" onClick={downloadSuitablePdf}>
|
||||||
</button>
|
ウンロード<i className="btn-arr"></i>
|
||||||
</div>
|
</button>
|
||||||
<div className="btn-bx">
|
</div>
|
||||||
<button className="btn-frame n-blue icon" onClick={() => handleRedirectPage('/inquiry/regist')}>
|
<div className="btn-bx">
|
||||||
1:1お問い合わせ<i className="btn-arr"></i>
|
<button className="btn-frame n-blue icon" onClick={() => handleRedirectPage('/inquiry/regist')}>
|
||||||
</button>
|
1:1お問い合わせ<i className="btn-arr"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@ -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
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user