aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);