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 bdc62eb commit b26408eCopy full SHA for b26408e
.changeset/rude-crabs-jog.md
@@ -0,0 +1,5 @@
1
+---
2
+'@shopify/polaris': patch
3
4
+
5
+Fix validateDOMNesting warning in `VideoThumbnail`
polaris-react/src/components/VideoThumbnail/VideoThumbnail.tsx
@@ -77,7 +77,7 @@ export function VideoThumbnail({
77
}
78
79
const timeStampMarkup = videoLength ? (
80
- <p className={styles.Timestamp}>
+ <div className={styles.Timestamp}>
81
<Stack alignment="center" spacing="extraTight">
82
<span className={styles.PlayIcon}>
83
<Icon source={PlayMinor} />
@@ -90,7 +90,7 @@ export function VideoThumbnail({
90
{secondsToTimestamp(videoLength)}
91
</Text>
92
</Stack>
93
- </p>
+ </div>
94
) : null;
95
96
let progressMarkup = null;
0 commit comments