diff options
author | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-17 21:36:24 -0600 |
---|---|---|
committer | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-17 21:36:24 -0600 |
commit | 1aa3b2b90ec98203becb5c4600e1e46b2d8fefa8 (patch) | |
tree | e55979aa2a2769f4bf2b3650f01c16beb7c115b2 /src/App.jsx | |
parent | 2ff01e1a304d5309c85493e7ccec9ebd6c100d7b (diff) | |
download | ToDo-App-FE-1aa3b2b90ec98203becb5c4600e1e46b2d8fefa8.tar.gz ToDo-App-FE-1aa3b2b90ec98203becb5c4600e1e46b2d8fefa8.zip |
Broken big function into smaller functions.
Diffstat (limited to 'src/App.jsx')
-rw-r--r-- | src/App.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/App.jsx b/src/App.jsx index 682a1b1..33d44ce 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,13 +1,14 @@ import React from "react"; // import { Counter } from "./features/counter/Counter"; import { Search } from "./ToDo-UI/Search"; -import { Reducer } from "./ToDo-UI/ToDo"; +import { NewToDo, ListToDos } from "./ToDo-UI/ToDo"; function App() { return ( <div> <Search /> - <Reducer /> + <NewToDo /> + <ListToDos /> </div> ); } |