style: applied ts-standard formatting

This commit is contained in:
ThinLiquid 2024-01-18 11:10:08 +00:00
parent 423dd46da0
commit bf23629905
No known key found for this signature in database
GPG key ID: 17538DC3DF6A7387

View file

@ -34,7 +34,7 @@ const Store: Process = {
const div = new HTML(win.content).qs('div')
repos.forEach(async (repo: string, index: number) => {
const repoDiv = div.qsa('div')[index]
const repoDiv = div?.qsa('div')?.[index]
repoDiv?.html('')
fetch(`${process.kernel.config.SERVER as string}/cors/?url=${repo}`)
.then(async res => await res.json())
@ -91,6 +91,7 @@ const Store: Process = {
button
)
)
// @ts-expect-error
.appendTo(repoDiv)
})
})