mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix: lint
This commit is contained in:
parent
181572e330
commit
dddd72ec83
|
@ -1,4 +1,4 @@
|
|||
export const createImage = (url: string) =>
|
||||
const createImage = (url: string) =>
|
||||
new Promise<HTMLImageElement>((resolve, reject) => {
|
||||
const image = new Image()
|
||||
image.addEventListener('load', () => resolve(image))
|
||||
|
|
Loading…
Reference in New Issue
Block a user