Cleanup studios display in details page

This commit is contained in:
Zoe Roux 2025-07-13 23:57:10 +02:00
parent 69838493bc
commit 9d8e2e25e2
No known key found for this signature in database

View File

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