'use client';

import { usePlayerMeta } from '../../context/selectors';

export function Title() {
  const { title } = usePlayerMeta();
  if (!title) return null;
  return (
    <p className="truncate text-sm font-medium text-foreground" title={title}>
      {title}
    </p>
  );
}
