Skip to content

Commit 1648afc

Browse files
committed
Fix VideoThumbnail validateDOMNesting warning
1 parent 8640463 commit 1648afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polaris-react/src/components/VideoThumbnail/VideoThumbnail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function VideoThumbnail({
7777
}
7878

7979
const timeStampMarkup = videoLength ? (
80-
<p className={styles.Timestamp}>
80+
<div className={styles.Timestamp}>
8181
<Stack alignment="center" spacing="extraTight">
8282
<span className={styles.PlayIcon}>
8383
<Icon source={PlayMinor} />
@@ -90,7 +90,7 @@ export function VideoThumbnail({
9090
{secondsToTimestamp(videoLength)}
9191
</Text>
9292
</Stack>
93-
</p>
93+
</div>
9494
) : null;
9595

9696
let progressMarkup = null;

0 commit comments

Comments
 (0)