Skip to content

Commit

Permalink
refactor: 💡 fixing lint issues
Browse files Browse the repository at this point in the history
fixed lint issues
  • Loading branch information
Rasula Caldera committed Sep 4, 2019
1 parent 7c7bc0e commit a6a86f7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/VideoBg.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ const VideoBg = ({
children,
el: El = "div"
}) => (
<El
className={`${classNames.wrapper}${wrapperClass ? " " + wrapperClass : ""}`}
<El
className={`${classNames.wrapper}${wrapperClass ? " " + wrapperClass : ""}`}
>
<video
className={`${classNames.video}${videoClass ? " " + videoClass : ""}`}
loop={loop}
muted={muted}
poster={poster}
autoPlay={autoPlay}
>
<video
className={`${classNames.video}${videoClass ? " " + videoClass : ""}`}
loop={loop}
muted={muted}
poster={poster}
autoPlay={autoPlay}
>
{children}
</video>
</El>
);
{children}
</video>
</El>
);

VideoBg.propTypes = {
wrapperClass: PropTypes.string,
Expand Down

0 comments on commit a6a86f7

Please sign in to comment.