fix: marketplace plugin type icon
parent
7daa365564
commit
25f34f6703
@ -0,0 +1,15 @@
|
||||
import { useRequest } from 'ahooks'
|
||||
|
||||
export const useCheckInstallStatus = () => {
|
||||
const { data, run, cancel } = useRequest(async () => {}, {
|
||||
manual: true,
|
||||
pollingInterval: 5000,
|
||||
pollingErrorRetryCount: 2,
|
||||
})
|
||||
|
||||
return {
|
||||
data,
|
||||
run,
|
||||
cancel,
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue