Skip to content

Commit

Permalink
Add base task adder
Browse files Browse the repository at this point in the history
  • Loading branch information
xeno-suter committed Oct 29, 2023
1 parent c838fdc commit 72f33b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/app/tasklist/page.js
Expand Up @@ -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);
Expand Down Expand Up @@ -41,7 +42,7 @@ export default function Tinder() {
</div>
}
>
<AddTask />
<TaskCreate />
</Popover>
{tasks.map(({ name, id }) => {
return <TaskRow key={id} taskName={name} />;
Expand Down

0 comments on commit 72f33b0

Please sign in to comment.