Skip to content

Commit e2024c1

Browse files
authored
Revert "[fix] Remove dynamic import timing issue causing Playwright test flakiness" (#4102)
1 parent e8236e1 commit e2024c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ import type { ComfyExtension, MissingNodeType } from '@/types/comfy'
5252
import { ExtensionManager } from '@/types/extensionTypes'
5353
import { ColorAdjustOptions, adjustColor } from '@/utils/colorUtil'
5454
import { graphToPrompt } from '@/utils/executionUtil'
55-
import { getFileHandler } from '@/utils/fileHandlers'
5655
import {
5756
executeWidgetsCallback,
5857
fixLinkInputSlots,
@@ -1266,6 +1265,7 @@ export class ComfyApp {
12661265
* @param {File} file
12671266
*/
12681267
async handleFile(file: File) {
1268+
const { getFileHandler } = await import('@/utils/fileHandlers')
12691269
const removeExt = (f: string) => {
12701270
if (!f) return f
12711271
const p = f.lastIndexOf('.')

0 commit comments

Comments
 (0)