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

@ -60,8 +60,8 @@ export const VideoP = z.object({
* The Bitrate (in bits/seconds) of the video track * The Bitrate (in bits/seconds) of the video track
* E.g. 2693245 * E.g. 2693245
*/ */
bitrate: z.number() bitrate: z.number(),
}) });
export type Video = z.infer<typeof VideoP>; export type Video = z.infer<typeof VideoP>;

View File

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

View File

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