mirror of https://github.com/langgenius/dify
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