Skip to content

Commit eb76fcb

Browse files
committed
Update EthVideo props
1 parent 82c8b33 commit eb76fcb

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/components/EthVideo.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ import { Box, useColorModeValue } from "@chakra-ui/react"
33
import darkVideo from "@/public/ethereum-hero-dark.mp4"
44
import lightVideo from "@/public/ethereum-hero-light.mp4"
55

6-
type EthVideoProps = {
7-
className?: string
8-
videoSrc?: string
9-
}
10-
11-
const EthVideo = ({ videoSrc }: EthVideoProps) => {
12-
const videoFile = useColorModeValue(lightVideo, darkVideo)
13-
14-
const src = videoSrc || videoFile
6+
const EthVideo = () => {
7+
const src = useColorModeValue(lightVideo, darkVideo)
158

169
return (
1710
<Box>

0 commit comments

Comments
 (0)