SurahStream: wrap content in <article>

This commit is contained in:
0x1eef 2023-10-28 10:57:12 -03:00
parent f5488b578f
commit 365c27d273

View file

@ -54,7 +54,7 @@ function SurahStream({ node, recitations, locale, paused, t }: Props) {
}, [stream.length === 0]); }, [stream.length === 0]);
return ( return (
<div ref={ref} className={classNames("invisible", "content", "theme", theme, locale)}> <article ref={ref} className={classNames("invisible", "content", "theme", theme, locale)}>
{readyToRender && ( {readyToRender && (
<> <>
<header> <header>
@ -123,7 +123,7 @@ function SurahStream({ node, recitations, locale, paused, t }: Props) {
<div className="br" /> <div className="br" />
{readyToRender && soundOn && isStalled && <StalledIcon />} {readyToRender && soundOn && isStalled && <StalledIcon />}
</footer> </footer>
</div> </article>
); );
} }