We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c8b33 commit eb76fcbCopy full SHA for eb76fcb
src/components/EthVideo.tsx
@@ -3,15 +3,8 @@ import { Box, useColorModeValue } from "@chakra-ui/react"
3
import darkVideo from "@/public/ethereum-hero-dark.mp4"
4
import lightVideo from "@/public/ethereum-hero-light.mp4"
5
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
+const EthVideo = () => {
+ const src = useColorModeValue(lightVideo, darkVideo)
15
16
return (
17
<Box>
0 commit comments