| 5 | import { getAllCategories } from "../utils"; |
| 6 | |
| 7 | interface TrackCardProps extends Track { |
| 8 | categories: { |
| 9 | category: { |
| 10 | id: string; |
| 11 | category: string; |
| 12 | }; |
| 13 | }[]; |
| 14 | } |
| 15 | |
| 16 | export const TracksEditor = async ({ tracks }: { tracks: TrackCardProps[] }) => { |
| 17 | const categories = await getAllCategories(); |
nothing calls this directly
no outgoing calls
no test coverage detected