aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.jsx2
-rw-r--r--src/ToDo.jsx3
-rw-r--r--src/features/todo/reducer.js1
3 files changed, 3 insertions, 3 deletions
diff --git a/src/App.jsx b/src/App.jsx
index 1a07f6f..80d3151 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,12 +1,10 @@
import React from "react";
// import { Counter } from "./features/counter/Counter";
-import { Search } from "./ToDo-UI/Search";
import { NewToDo, ListToDos } from "./ToDo";
function App() {
return (
<div>
- <Search />
<NewToDo />
<ListToDos />
</div>
diff --git a/src/ToDo.jsx b/src/ToDo.jsx
index b3e091d..f6eb68c 100644
--- a/src/ToDo.jsx
+++ b/src/ToDo.jsx
@@ -209,6 +209,7 @@ export function ListToDos() {
type="checkbox"
checked={item.done}
id="flexCheckChecked"
+ disabled
></input>
</div>
</th>
@@ -224,12 +225,14 @@ export function ListToDos() {
<button
type="button"
className="btn btn-outline-dark"
+ disabled
>
Edit
</button>
<button
type="button"
className="btn btn-outline-dark"
+ disabled
>
Delete
</button>
diff --git a/src/features/todo/reducer.js b/src/features/todo/reducer.js
index e3e2470..0e17412 100644
--- a/src/features/todo/reducer.js
+++ b/src/features/todo/reducer.js
@@ -20,7 +20,6 @@ export const todo_slice = createSlice({
creation_date: action.payload.creation_date,
},
];
- console.log(state.todos);
},
},
});