Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New offical preview #16

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions projects/offical/src/preview/player/UploadVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const UploadVideo = ({children}: UploadVideoType) => {
}, [upload])
return (
<>
{/* <form ref={formRef} onDragEnter={handleDrag} htmlFor="input-file-upload" onSubmit={e => e.preventDefault()}> */}
<form ref={formRef} onDragEnter={handleDrag} onSubmit={e => e.preventDefault()}>
<label className="drapUpload" ref={uploadLabelRef}>
{children}
Expand Down