fix(videos): incorrect return type on MediaType
All checks were successful
CI / Maven unit tests (push) Successful in 13s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped

This commit is contained in:
2026-07-23 21:20:02 +01:00
parent a003f773c3
commit 88cf2103f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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';

View File

@@ -17,7 +17,7 @@ type MediaPlayerProps = {
/** Fetches the raw video blob for the given id. */
fetchBlob: (id: string) => Promise<Blob>,
/** Fetches the media metadata for the given id. */
fetchDetails: (id: string) => Promise<MediaItem>,
fetchDetails: (id: string) => Promise<MediaItem | null>,
};
const MediaPlayer = ({ noun, fetchBlob, fetchDetails }: MediaPlayerProps) => {