mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
remove useismobile bookmark
they are always hidden unless searching (or editing)
This commit is contained in:
parent
6575cb30a6
commit
1a2e3ca9ac
1 changed files with 1 additions and 6 deletions
|
|
@ -6,7 +6,6 @@ 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";
|
||||
|
||||
|
|
@ -61,8 +60,6 @@ function MediaCardContent({
|
|||
|
||||
const [searchQuery] = useSearchQuery();
|
||||
|
||||
const { isMobile } = useIsMobile();
|
||||
|
||||
if (media.year) {
|
||||
dotListContent.push(media.year.toFixed());
|
||||
}
|
||||
|
|
@ -149,9 +146,7 @@ function MediaCardContent({
|
|||
) : null}
|
||||
|
||||
<div
|
||||
className={classNames("absolute", {
|
||||
"bookmark-button": !isMobile,
|
||||
})}
|
||||
className="absolute bookmark-button"
|
||||
onClick={(e) => e.preventDefault()}
|
||||
>
|
||||
<MediaBookmarkButton media={media} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue