Skip to content

Commit

Permalink
fix: removed unnecessary code
Browse files Browse the repository at this point in the history
Co-authored-by: Giulia Ghisini <[email protected]>
  • Loading branch information
Wagner3UB and giuliaghisini authored Sep 4, 2024
1 parent 3e1474e commit e0d2dc9
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,7 @@ const ViewBlock = ({
type="video/mp4"
/>
) : data.allowExternals ? (
<>
<Embed url={data.url} {...embedSettings} />
{showVideoCaption && (
<p className="px-3 mt-2 figure-caption">{data.title}</p>
)}
</>
<Embed url={data.url} {...embedSettings} />
) : (
<div className="invalidVideoFormat" />
)}
Expand Down

0 comments on commit e0d2dc9

Please sign in to comment.