Skip to content

Commit 13e5e7d

Browse files
committedNov 8, 2024
fix: try fix timeout warning
1 parent 4e0593b commit 13e5e7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/runtime/components/shared.ts

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export async function loadIcon(name: string, timeout: number): Promise<Required<
2222
consola.warn(`[Icon] failed to load icon \`${name}\``)
2323
return null
2424
})
25-
.finally(() => clearTimeout(timeoutWarn))
2625

2726
if (timeout > 0)
2827
await Promise.race([load, new Promise<void>((resolve) => {

0 commit comments

Comments
 (0)
Please sign in to comment.