aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);