diff --git a/src/components/player/atoms/settings/SourceSelectingView.tsx b/src/components/player/atoms/settings/SourceSelectingView.tsx index 6ec2e38a..dcb574ab 100644 --- a/src/components/player/atoms/settings/SourceSelectingView.tsx +++ b/src/components/player/atoms/settings/SourceSelectingView.tsx @@ -31,15 +31,6 @@ export function EmbedOption(props: { const { t } = useTranslation(); const unknownEmbedName = t("player.menus.sources.unknownOption"); - const currentSourceId = usePlayerStore((s) => s.sourceId); - const captionList = usePlayerStore((s) => s.captionList); - - const isActive = useMemo(() => { - if (currentSourceId !== props.sourceId) return false; - - return captionList.some((caption) => caption.id.includes(props.embedId)); - }, [currentSourceId, props.sourceId, props.embedId, captionList]); - const embedName = useMemo(() => { if (!props.embedId) return unknownEmbedName; const sourceMeta = getCachedMetadata().find((s) => s.id === props.embedId); @@ -54,12 +45,7 @@ export function EmbedOption(props: { ); return ( - + {embedName}