mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-01 10:29:40 +05:00
refactor: related releases page
This commit is contained in:
parent
6cade5a7d0
commit
4496a7280b
2 changed files with 115 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
|||
import Link from "next/link";
|
||||
import { Poster } from "./Poster";
|
||||
import { Chip } from "../Chip/Chip";
|
||||
import { ReleaseChips } from "./Chips";
|
||||
|
||||
const profile_lists = {
|
||||
|
@ -71,7 +70,7 @@ export const PosterWithStuff = (props: {
|
|||
if (props.genres) {
|
||||
const genres_array = props.genres.split(",");
|
||||
genres_array.forEach((genre) => {
|
||||
genres.push(genre);
|
||||
genres.push(genre.trim());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue