From 2fbaa54dc46580b73623c72a9086f163aeaaac2f Mon Sep 17 00:00:00 2001 From: sphinxrave <62570796+sphinxrave@users.noreply.github.com> Date: Tue, 11 Jun 2024 20:29:45 -0700 Subject: [PATCH] crack some player recommendations --- .../react/src/components/player/PlayerRecommendations.tsx | 4 ++-- packages/react/src/components/player/QueueList.tsx | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/react/src/components/player/PlayerRecommendations.tsx b/packages/react/src/components/player/PlayerRecommendations.tsx index b29665425..aca4cd313 100644 --- a/packages/react/src/components/player/PlayerRecommendations.tsx +++ b/packages/react/src/components/player/PlayerRecommendations.tsx @@ -109,12 +109,12 @@ function RecommendationCollapsible({ onClick={() => setOpen(!open)} >
- {label} + {label}
{Children.count(children)} - {children} + {children} ); } diff --git a/packages/react/src/components/player/QueueList.tsx b/packages/react/src/components/player/QueueList.tsx index a916ee413..67047d385 100644 --- a/packages/react/src/components/player/QueueList.tsx +++ b/packages/react/src/components/player/QueueList.tsx @@ -11,6 +11,7 @@ import { import { useMemo, useState } from "react"; import NewPlaylistDialog from "../playlist/NewPlaylistDialog"; import { cn } from "@/lib/utils"; +import { WATCH_PAGE_DROPDOWN_BUTTON_STYLE } from "@/shadcn/ui/button.variants"; export function QueueList({ currentId }: { currentId?: string }) { const { t } = useTranslation(); @@ -24,13 +25,13 @@ export function QueueList({ currentId }: { currentId?: string }) { return (