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
|
||||
|
||||
---
|
||||
<div
|
||||
class="related-videos w-full"
|
||||
>
|
||||
<Heading text="Related Videos" />
|
||||
<VideoRow
|
||||
videos={listing.relatedVideos}
|
||||
/>
|
||||
<VideoRow
|
||||
videos={listing.relatedVideos}
|
||||
/>
|
||||
</div>
|
||||
{ hasRelatedVideos && (
|
||||
<div
|
||||
class="related-videos w-full"
|
||||
>
|
||||
<Heading text="Related Videos" />
|
||||
|
||||
<VideoRow
|
||||
videos={listing.relatedVideos}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue