diff --git a/src/components/media/MediaCard.tsx b/src/components/media/MediaCard.tsx index ebc810eb6..edf107690 100644 --- a/src/components/media/MediaCard.tsx +++ b/src/components/media/MediaCard.tsx @@ -6,6 +6,7 @@ import { Link } from "react-router-dom"; import { mediaItemToId } from "@/backend/metadata/tmdb"; import { DotList } from "@/components/text/DotList"; import { Flare } from "@/components/utils/Flare"; +import { useIsMobile } from "@/hooks/useIsMobile"; import { useSearchQuery } from "@/hooks/useSearchQuery"; import { MediaItem } from "@/utils/mediaTypes"; @@ -60,6 +61,8 @@ function MediaCardContent({ const [searchQuery] = useSearchQuery(); + const { isMobile } = useIsMobile(); + if (media.year) { dotListContent.push(media.year.toFixed()); } @@ -145,6 +148,15 @@ function MediaCardContent({ > ) : null} +