updated note onclick

This commit is contained in:
Ren Amamiya
2023-03-22 13:30:38 +07:00
parent b687bd9893
commit 23f85c7e4f
3 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import ReactPlayer from 'react-player/lazy';
export const VideoPreview = memo(function VideoPreview({ data }: { data: string }) {
return (
<div className="relative mt-2 flex flex-col overflow-hidden rounded-lg">
<div onClick={(e) => e.stopPropagation()} className="relative mt-2 flex flex-col overflow-hidden rounded-lg">
<ReactPlayer
url={data}
controls={true}