mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:01:19 -04:00
clean up strict types a bit more
This commit is contained in:
@@ -77,17 +77,7 @@ const Video = ({ src, thumbnail, subs, autoplay, className, ...rest }: VideoProp
|
||||
|
||||
return (
|
||||
<Wrapper className={className}>
|
||||
{hasMounted && (
|
||||
<Player
|
||||
width="100%"
|
||||
height="100%"
|
||||
url={url}
|
||||
controls={!autoplay}
|
||||
// @ts-ignore
|
||||
config={config}
|
||||
{...rest}
|
||||
/>
|
||||
)}
|
||||
{hasMounted && <Player width="100%" height="100%" url={url} controls={!autoplay} config={config} {...rest} />}
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user