MCPcopy Create free account
hub / github.com/code100x/daily-code / TrackCardProps

Interface TrackCardProps

apps/web/components/admin/TracksEditor.tsx:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected