aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 22:20:53 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 22:20:53 -0600
commit0a7aa6309868e5920971c9e9351739cd558ed988 (patch)
tree4de68092ffaff20fa5db951349af7649ba43eb13
parent02376ac97fbdd794cc487dd6d1131fb8c925c890 (diff)
downloadToDo-App-FE-0a7aa6309868e5920971c9e9351739cd558ed988.tar.gz
ToDo-App-FE-0a7aa6309868e5920971c9e9351739cd558ed988.zip
Preparing branch to merge.
Merge to main.
Diffstat (limited to '')
-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);
},
},
});