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

Function ProblemEditor

apps/web/components/admin/ProblemEditor.tsx:6–19  ·  view source on GitHub ↗
({ problems }: { problems: Problem[] })

Source from the content-addressed store, hash-verified

4import AddProblemCard from "./AddProblemCard";
5
6export const ProblemEditor = ({ problems }: { problems: Problem[] }) => {
7 return (
8 <div className="grid grid-cols-2">
9 <ScrollArea className="h-screen m-2">
10 <div className="space-y-4">
11 {problems.map((problem, i) => (
12 <ProblemCard key={i} problem={problem} />
13 ))}
14 </div>
15 </ScrollArea>
16 <AddProblemCard />
17 </div>
18 );
19};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected