style: applied ts-standard formatting
This commit is contained in:
parent
423dd46da0
commit
bf23629905
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ const Store: Process = {
|
||||||
const div = new HTML(win.content).qs('div')
|
const div = new HTML(win.content).qs('div')
|
||||||
|
|
||||||
repos.forEach(async (repo: string, index: number) => {
|
repos.forEach(async (repo: string, index: number) => {
|
||||||
const repoDiv = div.qsa('div')[index]
|
const repoDiv = div?.qsa('div')?.[index]
|
||||||
repoDiv?.html('')
|
repoDiv?.html('')
|
||||||
fetch(`${process.kernel.config.SERVER as string}/cors/?url=${repo}`)
|
fetch(`${process.kernel.config.SERVER as string}/cors/?url=${repo}`)
|
||||||
.then(async res => await res.json())
|
.then(async res => await res.json())
|
||||||
|
|
@ -91,6 +91,7 @@ const Store: Process = {
|
||||||
button
|
button
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
// @ts-expect-error
|
||||||
.appendTo(repoDiv)
|
.appendTo(repoDiv)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue