mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: remove TS type annotation from page.evaluate (browser context)
Set<string>() in page.evaluate causes __name ReferenceError in browser. Use untyped Set() since browser JS doesn't support TS generics. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1631,7 +1631,7 @@ async function launchSessionAndLogin(
|
||||
whiteSpace: 'nowrap'
|
||||
})
|
||||
document.body.appendChild(hud)
|
||||
const held = new Set<string>()
|
||||
const held = new Set()
|
||||
const update = () => {
|
||||
if (held.size === 0) {
|
||||
hud.style.display = 'none'
|
||||
|
||||
Reference in New Issue
Block a user