+
할 일 목록
diff --git a/react/todo-app/src/components/Form.js b/react/todo-app/src/components/Form.js
index 111bae6c..104ad645 100644
--- a/react/todo-app/src/components/Form.js
+++ b/react/todo-app/src/components/Form.js
@@ -7,20 +7,19 @@ export default function Form({ value, setValue, handleSubmit }) {
return (
-
diff --git a/react/todo-app/src/components/List.js b/react/todo-app/src/components/List.js
index 238d5224..937c4da6 100644
--- a/react/todo-app/src/components/List.js
+++ b/react/todo-app/src/components/List.js
@@ -1,23 +1,6 @@
import React from "react";
export default function List({ todoData, setTodoData }) {
- const btnStyle = {
- color: "#fff",
- border: "none",
- padding: "5px 9px",
- borderRadius: "50%",
- cursor: "pointer",
- float: "right",
- };
-
- const getStyle = (completed) => {
- return {
- padding: "10px",
- borderBottom: "1px #ccc dotted",
- textDecoration: completed ? "line-through" : "none",
- };
- };
-
const handleClick = (id) => {
let newTodoData = todoData.filter((data) => data.id !== id);
setTodoData(newTodoData);
@@ -37,16 +20,27 @@ export default function List({ todoData, setTodoData }) {
return (
{todoData.map((data) => (
-
-
handleCompleteChange(data.id)}
- />
- {data.title}
-
+
+
+
+ handleCompleteChange(data.id)}
+ />{" "}
+
+ {data.title}
+
+
+
+
+
+
))}
diff --git a/react/todo-app/src/index.css b/react/todo-app/src/index.css
index 20db07de..b5c61c95 100644
--- a/react/todo-app/src/index.css
+++ b/react/todo-app/src/index.css
@@ -1,7 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
-
-body {
- background-color: aliceblue;
-}