File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed
Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import React , { useEffect } from 'react' ;
22import { connect , ConnectedProps } from 'react-redux' ;
3- import { loadUser , logout } from 'src/containers /Auth/Auth.thunks' ;
3+ import { loadUser , logout } from 'src/components /Auth/Auth.thunks' ;
44import { Routes } from 'src/routes' ;
55
66const mapStateToProps = ( ) => ( { } ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import { Menu , Grid } from 'antd' ;
33import { NavLink } from 'react-router-dom' ;
44import { LoginOutlined } from '@ant-design/icons' ;
5- import { logout } from 'src/containers /Auth/Auth.thunks' ;
5+ import { logout } from 'src/components /Auth/Auth.thunks' ;
66import { connect , ConnectedProps } from 'react-redux' ;
77import { PATH } from 'src/constants/paths' ;
88
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { ProductList } from 'src/containers /Products/ProductList' ;
2+ import { ProductList } from 'src/components /Products/ProductList' ;
33
44export const AuthLinks = ( ) => {
55 return < ProductList /> ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { Login } from 'src/containers /Auth/Login' ;
2+ import { Login } from 'src/components /Auth/Login' ;
33import { MainLayout } from 'src/layouts/MainLayout' ;
44
55const _LoginPage = ( ) => {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { Profile } from 'src/containers /Auth/Profile' ;
2+ import { Profile } from 'src/components /Auth/Profile' ;
33import { MainLayout } from 'src/layouts/MainLayout' ;
44
55const _ProfilePage = ( ) => {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { Register } from 'src/containers /Auth/Register' ;
2+ import { Register } from 'src/components /Auth/Register' ;
33import { MainLayout } from 'src/layouts/MainLayout' ;
44
55const _RegisterPage = ( ) => {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { ProductItem } from 'src/containers /Products/ProductItem' ;
2+ import { ProductItem } from 'src/components /Products/ProductItem' ;
33import { MainLayout } from 'src/layouts/MainLayout' ;
44
55const _ProductItemPage = ( ) => {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { ProductList } from 'src/containers /Products/ProductList' ;
2+ import { ProductList } from 'src/components /Products/ProductList' ;
33import { MainLayout } from 'src/layouts/MainLayout' ;
44
55const _ProductListPage = ( ) => {
Original file line number Diff line number Diff line change 11import { combineReducers } from 'redux' ;
2- import { authReducer } from 'src/containers /Auth/Auth.reducers' ;
3- import { productReducer } from 'src/containers /Products/Product.reducers' ;
2+ import { authReducer } from 'src/components /Auth/Auth.reducers' ;
3+ import { productReducer } from 'src/components /Products/Product.reducers' ;
44
55export const RootReducer = combineReducers ( {
66 auth : authReducer ,
You can’t perform that action at this time.
0 commit comments