Skip to content

Commit

Permalink
[web] fix(build): explicitly set video prop type to prevent build error
Browse files Browse the repository at this point in the history
  • Loading branch information
danshilm committed Mar 2, 2023
1 parent 52ea635 commit dd288dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/website/src/components/BackgroundVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { useEffect, useRef, useState } from 'react';
interface BackgroundVideoProps
extends DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> {
placeholder: string;
// added because of type mismatch when using ...props spread
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
}

export default function BackgroundVideo({
Expand Down

1 comment on commit dd288dd

@vercel
Copy link

@vercel vercel bot commented on dd288dd Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.