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 3731c7d commit 69a6078Copy full SHA for 69a6078
src/useImageDimensions.ts
@@ -26,7 +26,7 @@ export interface ImageDimensionsResult {
26
*/
27
export function useImageDimensions(
28
source: ImageDimensionsSource,
29
- headers?: ImageURISource['headers']
+ headers?: ImageURISource['headers'],
30
): ImageDimensionsResult {
31
const [result, setResult] = useState<ImageDimensionsResult>({loading: true})
32
@@ -45,7 +45,7 @@ export function useImageDimensions(
45
46
if (typeof source === 'object' && source.uri) {
47
setResult({loading: true})
48
-
+
49
if (typeof headers === 'object') {
50
Image.getSizeWithHeaders(
51
source.uri,
0 commit comments