From 2c60c48eb277525795cc0075a061c1c0f9270ce4 Mon Sep 17 00:00:00 2001 From: Will Roeder Date: Sun, 17 Oct 2021 12:33:05 -0700 Subject: [PATCH] Added Prettier fixes for NFTArt (#20752) Co-authored-by: Will Roeder --- explorer/src/components/common/NFTArt.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/explorer/src/components/common/NFTArt.tsx b/explorer/src/components/common/NFTArt.tsx index b7feaa64f..da86b1aeb 100644 --- a/explorer/src/components/common/NFTArt.tsx +++ b/explorer/src/components/common/NFTArt.tsx @@ -40,7 +40,7 @@ const ViewOriginalArtContentLink = ({ src }: { src: string }) => { VIEW ORIGINAL ); -} +}; const CachedImageContent = ({ uri }: { uri?: string }) => { const [isLoading, setIsLoading] = useState(true); @@ -93,9 +93,7 @@ const CachedImageContent = ({ uri }: { uri?: string }) => { setShowError(true); }} /> - {uri && ( - - )} + {uri && } )} @@ -139,7 +137,7 @@ const VideoArtContent = ({ const content = likelyVideo && - likelyVideo.startsWith("https://watch.videodelivery.net/") ? ( + likelyVideo.startsWith("https://watch.videodelivery.net/") ? (
playerRef(e)} @@ -156,7 +154,9 @@ const VideoArtContent = ({ autoplay={true} muted={true} /> - +
) : (
@@ -182,7 +182,7 @@ const VideoArtContent = ({ )}
- ) + ); return content; }; @@ -226,9 +226,7 @@ const HTMLContent = ({ setShowError(true); }} > - {htmlURL && ( - - )} + {htmlURL && } )}