diff --git a/app/Components/TasksApp/AddTask.tsx b/app/Components/TasksApp/AddTask.tsx
index 7967249..a097b75 100644
--- a/app/Components/TasksApp/AddTask.tsx
+++ b/app/Components/TasksApp/AddTask.tsx
@@ -3,20 +3,14 @@ import { useState } from "react";
export default function AddTask({ onAddTask }: { onAddTask: any }) {
const [text, setText] = useState("");
return (
- <>
- setText(e.target.value)}
- />
-
- >
+
);
}
diff --git a/app/Components/TasksApp/TaskApp.tsx b/app/Components/TasksApp/TaskApp.tsx
index b4e1b18..824357b 100644
--- a/app/Components/TasksApp/TaskApp.tsx
+++ b/app/Components/TasksApp/TaskApp.tsx
@@ -35,7 +35,6 @@ export default function TaskApp() {
return (
<>
-
Day off in Kyoto
diff --git a/app/Components/TasksApp/TaskList.tsx b/app/Components/TasksApp/TaskList.tsx
index 4ec657e..0ce9f42 100644
--- a/app/Components/TasksApp/TaskList.tsx
+++ b/app/Components/TasksApp/TaskList.tsx
@@ -11,8 +11,8 @@ export default function TaskList({
onDeleteTask: any;
}) {
return (
-
- {tasks.map((task: any) => (
+
+ {[...tasks].reverse().map((task: any) => (
-
@@ -44,7 +44,7 @@ function Task({
audio.play();
};
- console.log("Task", task)
+ console.log("Task", task);
const [isEditing, setIsEditing] = useState(task.isNew);
let taskContent;
diff --git a/app/page.tsx b/app/page.tsx
index d5bf27a..c7052a8 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -4,8 +4,7 @@ import TaskApp from "./Components/TasksApp/TaskApp";
export default function Home() {
return (
-
-
+
);