diff options
author | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
---|---|---|
committer | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
commit | f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch) | |
tree | 575c0ff2cbb846252bd2e494c81c396846aab2f6 /app/components/auto-image/auto-image.tsx | |
parent | 67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff) |
Apply Prettier
Diffstat (limited to 'app/components/auto-image/auto-image.tsx')
-rw-r--r-- | app/components/auto-image/auto-image.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/components/auto-image/auto-image.tsx b/app/components/auto-image/auto-image.tsx index 39d71ca..a8bfe37 100644 --- a/app/components/auto-image/auto-image.tsx +++ b/app/components/auto-image/auto-image.tsx @@ -1,10 +1,10 @@ -import React, { useLayoutEffect, useState } from "react" +import React, { useLayoutEffect, useState } from 'react' import { Image as RNImage, ImageProps as DefaultImageProps, ImageURISource, Platform, -} from "react-native" +} from 'react-native' type ImageProps = DefaultImageProps & { source: ImageURISource @@ -31,7 +31,7 @@ export function AutoImage(props: ImageProps) { RNImage.getSize(props.source.uri as any, (width, height) => { setImageSize({ width, height }) }) - } else if (Platform.OS === "web") { + } else if (Platform.OS === 'web') { // web requires a different method to get it's size RNImage.getSize(props.source as any, (width, height) => { setImageSize({ width, height }) |