mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Remove extra video row and make conditional
This commit is contained in:
parent
b3a4bffdf8
commit
0ebb746ad9
1 changed files with 11 additions and 11 deletions
|
|
@ -9,15 +9,15 @@ const {
|
||||||
const hasRelatedVideos = listing.relatedVideos.length > 0
|
const hasRelatedVideos = listing.relatedVideos.length > 0
|
||||||
|
|
||||||
---
|
---
|
||||||
<div
|
{ hasRelatedVideos && (
|
||||||
class="related-videos w-full"
|
<div
|
||||||
>
|
class="related-videos w-full"
|
||||||
<Heading text="Related Videos" />
|
>
|
||||||
<VideoRow
|
<Heading text="Related Videos" />
|
||||||
videos={listing.relatedVideos}
|
|
||||||
/>
|
<VideoRow
|
||||||
<VideoRow
|
videos={listing.relatedVideos}
|
||||||
videos={listing.relatedVideos}
|
/>
|
||||||
/>
|
</div>
|
||||||
</div>
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue