Skip to content

Commit

Permalink
fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Nov 21, 2024
1 parent d7649b8 commit 6372907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Recorder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
const tools = EBML.tools;

const fileReader = new FileReader();
fileReader.onload = function (e) {
fileReader.onload = function () {
if (!this.result || typeof this.result === "string") return;
const ebmlElms = decoder.decode(this.result);
ebmlElms.forEach(function (element) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface Props {
}

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

useEffect(() => {
// Subscribe to state updates.
Expand Down

0 comments on commit 6372907

Please sign in to comment.