From 88cf2103f6daa7d74b1b9bdd586c59be82015a94 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Thu, 23 Jul 2026 21:20:02 +0100 Subject: [PATCH] fix(videos): incorrect return type on MediaType --- frontend/src/App.tsx | 2 +- frontend/src/pages/MediaPlayer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index da08c32..b6dc24d 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,4 +1,4 @@ -// App.jsx + // App.jsx import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import MainLayout from './layouts/MainLayout'; import ClipUpload from './pages/ClipUpload'; diff --git a/frontend/src/pages/MediaPlayer.tsx b/frontend/src/pages/MediaPlayer.tsx index ff31ced..e6770e6 100644 --- a/frontend/src/pages/MediaPlayer.tsx +++ b/frontend/src/pages/MediaPlayer.tsx @@ -17,7 +17,7 @@ type MediaPlayerProps = { /** Fetches the raw video blob for the given id. */ fetchBlob: (id: string) => Promise, /** Fetches the media metadata for the given id. */ - fetchDetails: (id: string) => Promise, + fetchDetails: (id: string) => Promise, }; const MediaPlayer = ({ noun, fetchBlob, fetchDetails }: MediaPlayerProps) => {