From 72f33b0df6721ee474a7bc6885ecd47648630e7a Mon Sep 17 00:00:00 2001 From: Xeno Suter Date: Sun, 29 Oct 2023 07:58:00 +0100 Subject: [PATCH] Add base task adder --- frontend/src/app/tasklist/page.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/tasklist/page.js b/frontend/src/app/tasklist/page.js index 0162830..292dc32 100644 --- a/frontend/src/app/tasklist/page.js +++ b/frontend/src/app/tasklist/page.js @@ -8,6 +8,7 @@ import AddTask from "@/app/components/Tasks/AddTask"; import AddCircleRoundedIcon from "@mui/icons-material/AddCircleRounded"; import defaultTask from "@/app/testdata/tasks"; import React, { useState, useEffect } from "react"; +import TaskCreate from "@/app/components/TaskCreate/TaskCreate"; export default function Tinder() { const [tasks, setTasks] = useState(defaultTask); @@ -41,7 +42,7 @@ export default function Tinder() { } > - + {tasks.map(({ name, id }) => { return ;