Skip to content

Commit 6372907

Browse files
committed
fix type issues
1 parent d7649b8 commit 6372907

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Recorder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
110110
const tools = EBML.tools;
111111

112112
const fileReader = new FileReader();
113-
fileReader.onload = function (e) {
113+
fileReader.onload = function () {
114114
if (!this.result || typeof this.result === "string") return;
115115
const ebmlElms = decoder.decode(this.result);
116116
ebmlElms.forEach(function (element) {

src/components/VideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface Props {
2222
}
2323

2424
export default function VideoPlayer({ video_url, thumbnailUrl }: Props) {
25-
let player = useRef<MediaPlayerInstance>(null);
25+
const player = useRef<MediaPlayerInstance>(null);
2626

2727
useEffect(() => {
2828
// Subscribe to state updates.

0 commit comments

Comments
 (0)