stop linter quarrel
This commit is contained in:
parent
1629ff5756
commit
4b8cfe572d
|
@ -128,11 +128,12 @@ const ContributionModal = () => {
|
|||
|
||||
useEffect(() => {
|
||||
if (submitting) {
|
||||
(async () => {
|
||||
const handleSubmit = async () => {
|
||||
await actions.submitContribution(contributionAmount)
|
||||
setSubmitted(true)
|
||||
setSubmitting(false)
|
||||
})()
|
||||
}
|
||||
handleSubmit()
|
||||
}
|
||||
}, [submitting])
|
||||
|
||||
|
|
|
@ -127,10 +127,11 @@ export default function useWallet() {
|
|||
|
||||
// fetch pool on page load
|
||||
useEffect(() => {
|
||||
;(async () => {
|
||||
const pageLoad = async () => {
|
||||
await actions.fetchPool()
|
||||
actions.fetchMints()
|
||||
})()
|
||||
}
|
||||
pageLoad()
|
||||
}, [])
|
||||
|
||||
// refresh usdc vault regularly
|
||||
|
|
Loading…
Reference in New Issue