aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 21:38:31 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 21:38:31 -0600
commit335543d369de2190a8a0591553117ea525ba1380 (patch)
treea6b36a40deba5190cadbbb4719c10cc1bc7b1688
parent1aa3b2b90ec98203becb5c4600e1e46b2d8fefa8 (diff)
downloadToDo-App-FE-335543d369de2190a8a0591553117ea525ba1380.tar.gz
ToDo-App-FE-335543d369de2190a8a0591553117ea525ba1380.zip
Moved `ToDo.jsx` file into main folder.
-rw-r--r--src/App.jsx2
-rw-r--r--src/ToDo.jsx (renamed from src/ToDo-UI/ToDo.jsx)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/App.jsx b/src/App.jsx
index 33d44ce..1a07f6f 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 { NewToDo, ListToDos } from "./ToDo-UI/ToDo";
+import { NewToDo, ListToDos } from "./ToDo";
function App() {
return (
diff --git a/src/ToDo-UI/ToDo.jsx b/src/ToDo.jsx
index ceaed49..6ae8311 100644
--- a/src/ToDo-UI/ToDo.jsx
+++ b/src/ToDo.jsx
@@ -1,6 +1,6 @@
import React, { useState } from "react";
import { useSelector, useDispatch } from "react-redux";
-import { add_todo, select_todos } from "../features/todo/reducer";
+import { add_todo, select_todos } from "./features/todo/reducer";
export function NewToDo() {
const my_todos = useSelector(select_todos);