Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andrioid/dnd-prototype. Very slim React wrapper for drag-and-drop, uses touch polyfill
Something went wrong. Try again.
123456789101112131415161718import { TaskCard } from "./task-card";import { useTasksContext } from "./useTasksContext";
export function UnplannedTasks() { const { tasks } = useTasksContext();
return ( <div className="p-6 mt-8 flex flex-col gap-4"> <h1>Unplanned</h1> {tasks .filter((task) => task.employeeId.length === 0) .map((task) => ( <TaskCard key={task.id} task={task} /> ))} </div> );}