aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 21:29:57 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 21:29:57 -0600
commit2ff01e1a304d5309c85493e7ccec9ebd6c100d7b (patch)
treee30eb7f3559b111d214c0b6807d4d9150d7c8c6d /src
parent593ab2d7d4ef972594131b125d9320c618e54691 (diff)
downloadToDo-App-FE-2ff01e1a304d5309c85493e7ccec9ebd6c100d7b.tar.gz
ToDo-App-FE-2ff01e1a304d5309c85493e7ccec9ebd6c100d7b.zip
Moved `ToDo.jsx` to UI folder.
Diffstat (limited to 'src')
-rw-r--r--src/App.jsx2
-rw-r--r--src/ToDo-UI/ToDo.jsx (renamed from src/features/todo/ToDo.jsx)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/App.jsx b/src/App.jsx
index 625d6ae..682a1b1 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,7 +1,7 @@
import React from "react";
// import { Counter } from "./features/counter/Counter";
import { Search } from "./ToDo-UI/Search";
-import { Reducer } from "./features/todo/ToDo";
+import { Reducer } from "./ToDo-UI/ToDo";
function App() {
return (
diff --git a/src/features/todo/ToDo.jsx b/src/ToDo-UI/ToDo.jsx
index c956ba1..51e0c97 100644
--- a/src/features/todo/ToDo.jsx
+++ b/src/ToDo-UI/ToDo.jsx
@@ -1,6 +1,6 @@
import React, { useState } from "react";
import { useSelector, useDispatch } from "react-redux";
-import { add_todo, select_todos } from "./reducer";
+import { add_todo, select_todos } from "../features/todo/reducer";
export function Reducer() {
const my_todos = useSelector(select_todos);