style(audiobooks): apply prettier to ChaptersSection and NarratorPicker
These two files came in with this branch but were missed by prettier formatting passes — long single-prop lines were wrapped where they would have fit on one line under the project's 100-col width. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
7e6736358f
commit
f07ad643d5
@@ -86,9 +86,7 @@ export function ChaptersSection({ files, currentPositionSeconds, onSelect }: Cha
|
||||
aria-expanded={expanded}
|
||||
className="hover:text-primary flex items-center gap-2 text-xl font-semibold tracking-tight transition-colors"
|
||||
>
|
||||
<ChevronDown
|
||||
className={`h-5 w-5 transition-transform ${expanded ? "" : "-rotate-90"}`}
|
||||
/>
|
||||
<ChevronDown className={`h-5 w-5 transition-transform ${expanded ? "" : "-rotate-90"}`} />
|
||||
Chapters
|
||||
<span className="text-muted-foreground text-sm font-normal">({rows.length})</span>
|
||||
</button>
|
||||
|
||||
@@ -9,11 +9,7 @@ interface NarratorPickerProps {
|
||||
others: AudiobookNarration[];
|
||||
}
|
||||
|
||||
export function NarratorPicker({
|
||||
currentNarrator,
|
||||
currentContentId,
|
||||
others,
|
||||
}: NarratorPickerProps) {
|
||||
export function NarratorPicker({ currentNarrator, currentContentId, others }: NarratorPickerProps) {
|
||||
const [open, setOpen] = useState(false);
|
||||
const wrapperRef = useRef<HTMLDivElement | null>(null);
|
||||
const navigate = useNavigate();
|
||||
|
||||
Reference in New Issue
Block a user