Front: Prettier

This commit is contained in:
Arthur Jamet 2024-01-21 13:31:45 +01:00 committed by Zoe Roux
parent 37acfa1eec
commit aea6253094
3 changed files with 8 additions and 7 deletions

View File

@ -45,23 +45,23 @@ export const VideoP = z.object({
* The Quality of the Video
* E.g. "1080p" (TODO: FIND ACTUAL ENUM)
*/
quality: z.string(),
quality: z.string(),
/**
* The Width of the Video Frame
* E.g. 1424
*/
width: z.number(),
width: z.number(),
/**
* The Height of the Video Frame
* E.g. 1072
*/
height: z.number(),
height: z.number(),
/**
* The Bitrate (in bits/seconds) of the video track
* E.g. 2693245
*/
bitrate: z.number()
})
bitrate: z.number(),
});
export type Video = z.infer<typeof VideoP>;

View File

@ -58,7 +58,7 @@ const MediaInfoTable = ({
const table = (
[
{
[t("mediainfo.file")]: path?.replace(/^\/video\//, ''),
[t("mediainfo.file")]: path?.replace(/^\/video\//, ""),
[t("mediainfo.container")]: container,
},
{

View File

@ -257,7 +257,8 @@ export const TitleLine = ({
<IconButton
icon={Info}
onPress={() =>
slug && setPopup(
slug &&
setPopup(
<MediaInfoPopup
mediaType={type}
mediaSlug={slug}