Commit de972697 authored by Ibadullina Inabat's avatar Ibadullina Inabat

ничего не делала

parent 7520d64e
import {Routes, Route, Outlet, Navigate, BrowserRouter} from "react-router-dom";
import {Container} from "@mui/material";
import {useSelector} from "react-redux";
import AppToolbar from "./components/UI/AppToolbar/AppToolBar";
import { useSelector} from "react-redux";
import AppToolbar from "./components/UI/AppToolBar/AppToolbar";
import Login from "./containers/Login/Login";
import Register from "./containers/Register/Register";
......
......@@ -22,7 +22,6 @@ const usersReduser = (state = initialState, action) => {
return {...state, loading: false, registerError: action.error};
case LOGIN_USER_SUCCESS:
return {...state, user: action.user};
case LOGIN_USER_FAILURE:
return {...state, loginError: action.error};
case LOGOUT_USER_SUCCESS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment