Skip to content

Commit 27dcc19

Browse files
committed
Revert "[fix] Remove dynamic import timing issue causing Playwright test flakiness (#4031)"
This reverts commit afac449.
1 parent 6289ac9 commit 27dcc19

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,
@@ -1263,6 +1262,7 @@ export class ComfyApp {
12631262
* @param {File} file
12641263
*/
12651264
async handleFile(file: File) {
1265+
const { getFileHandler } = await import('@/utils/fileHandlers')
12661266
const removeExt = (f: string) => {
12671267
if (!f) return f
12681268
const p = f.lastIndexOf('.')

0 commit comments

Comments
 (0)