mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-31 14:33:50 -04:00
Cleanup studios display in details page
This commit is contained in:
parent
69838493bc
commit
9d8e2e25e2
@ -359,23 +359,22 @@ export const TitleLine = ({
|
|||||||
}) as any,
|
}) as any,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
{studios?.map((x) => (
|
{studios !== null && (
|
||||||
<P
|
<P
|
||||||
key={x.slug}
|
|
||||||
{...css({
|
{...css({
|
||||||
|
flexWrap: "wrap",
|
||||||
color: (theme: Theme) => theme.user.paragraph,
|
color: (theme: Theme) => theme.user.paragraph,
|
||||||
display: "flex",
|
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{t("show.studio")}:{" "}
|
{t("show.studios")}:{" "}
|
||||||
<A
|
{studios.map((studio, i) => (
|
||||||
href={`/studio/${x.slug}`}
|
<Fragment key={studio.id}>
|
||||||
{...css({ color: (theme) => theme.user.link })}
|
<P {...(css({ m: 0 }) as any)}>{i !== 0 && ", "}</P>
|
||||||
>
|
<A href={`/studios/${studio.slug}`}>{studio.name}</A>
|
||||||
{x.name}
|
</Fragment>
|
||||||
</A>
|
))}
|
||||||
</P>
|
</P>
|
||||||
))}
|
)}
|
||||||
</View>
|
</View>
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user