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

Interface TrackCardProps

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

Source from the content-addressed store, hash-verified

5import { updateTrack } from "../utils";
6
7interface TrackCardProps extends Track {
8 categories: {
9 category: {
10 id: string;
11 category: string;
12 };
13 }[];
14}
15
16const EditTrackCard = ({ Track, categories }: { Track: TrackCardProps; categories: Categories[] }) => {
17 const [isEditing, setIsEditing] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected