We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f9833 commit 5c6256bCopy full SHA for 5c6256b
src/useImageDimensions.ts
@@ -43,7 +43,7 @@ export function useImageDimensions(source: Source): ImageDimensions {
43
dimensions: {width, height, aspectRatio: width / height},
44
loading: false,
45
}),
46
- error => setResult({error, loading: false}),
+ (error) => setResult({error, loading: false}),
47
)
48
49
return
0 commit comments