From a2ce6f7cba1a75fc012d972836fa223c12af29e0 Mon Sep 17 00:00:00 2001 From: polobence Date: Fri, 16 Jan 2026 13:59:20 +0100 Subject: [PATCH] change task background to red --- src/components/Task.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Task.tsx b/src/components/Task.tsx index e5bf96f..b3d908d 100644 --- a/src/components/Task.tsx +++ b/src/components/Task.tsx @@ -1,8 +1,11 @@ import type { TaskData } from "../types"; type TaskProps = { + /** Composition of the task */ task: TaskData; + /** Event to change the task to archived */ onArchiveTask: (id: string) => void; + /** Event to change the task to pinned */ onPinTask: (id: string) => void; }; @@ -28,6 +31,7 @@ export default function Task({ task: { id, title, state }, onArchiveTask, onPinT name="title" id={`title-${id}`} placeholder="Input title" + style={{ backgroundColor: "red" }} /> {state !== "TASK_ARCHIVED" && (