From f2ebba7b1df775d33d2af6abc3ee2c9de5f2e57a Mon Sep 17 00:00:00 2001 From: Alex Zoitos Date: Wed, 23 Dec 2020 21:37:11 -0500 Subject: [PATCH] fix(frontend): invalid dom-nesting title card fix (#482) fix #476 --- src/components/TitleCard/index.tsx | 290 ++++++++++++++--------------- 1 file changed, 145 insertions(+), 145 deletions(-) diff --git a/src/components/TitleCard/index.tsx b/src/components/TitleCard/index.tsx index c460a9f90..15f71d52c 100644 --- a/src/components/TitleCard/index.tsx +++ b/src/components/TitleCard/index.tsx @@ -159,155 +159,155 @@ const TitleCard: React.FC = ({ leaveFrom="opacity-100" leaveTo="opacity-0" > - - -
-
- {year &&
{year}
} +
+ + +
+
+ {year &&
{year}
} -

- {title} -

-
- {summary} -
-
-
- - - - - - - - - {(!currentStatus || - currentStatus === MediaStatus.UNKNOWN) && ( - - )} - {currentStatus === MediaStatus.PENDING && ( - - )} - {currentStatus === MediaStatus.PROCESSING && ( - - )} - {(currentStatus === MediaStatus.AVAILABLE || - currentStatus === MediaStatus.PARTIALLY_AVAILABLE) && ( - - )} + {summary} +
+
-
- - + + + +
+ + + + + + + + + {(!currentStatus || currentStatus === MediaStatus.UNKNOWN) && ( + + )} + {currentStatus === MediaStatus.PENDING && ( + + )} + {currentStatus === MediaStatus.PROCESSING && ( + + )} + {(currentStatus === MediaStatus.AVAILABLE || + currentStatus === MediaStatus.PARTIALLY_AVAILABLE) && ( + + )} +
+