FIX: VOD results on ResultsPage;

FIX: Correct aspect-ratio of users' profile pictures on `ResultsPage`;
UPDATE: Remove elements from `VodListItem` that are not being used;
This commit is contained in:
Chris-1010
2025-03-06 23:28:28 +00:00
parent 38f8c52ad8
commit 1173896710
3 changed files with 7 additions and 13 deletions

View File

@@ -106,11 +106,10 @@ const ResultsPage: React.FC = () => {
variant="search"
type="vod"
items={searchState.searchResults.vods.map((vod: any) => ({
id: vod.vod_id,
vod_id: vod.vod_id,
type: "vod",
title: vod.title,
username: vod.username,
thumbnail: vod.thumbnail_url,
username: vod.username
}))}
title="VODs"
onItemClick={(username, vod_id) => navigate(`/vods/${username}/${vod_id}`)}