Skip to content

Commit 984cf34

Browse files
committed
fix build error
1 parent cd52b7b commit 984cf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Image from "next/image";
44
import { useEffect, useRef } from "react";
55

66
export default function Page() {
7-
const videoRef = useRef(null);
7+
const videoRef = useRef<HTMLVideoElement>(null);
88

99
useEffect(() => {
1010
const timer = setTimeout(() => {

0 commit comments

Comments
 (0)