From 6cb03fbc2a59417cb6b11db9b930307dc7f898af Mon Sep 17 00:00:00 2001 From: Lucas Bruzzone Date: Wed, 30 Dec 2020 18:13:40 -0300 Subject: [PATCH] Rename Redux Folder --- App.js | 2 +- src/{redux => reduxConfig}/appReducer/actions.js | 0 src/{redux => reduxConfig}/appReducer/constants.js | 0 src/{redux => reduxConfig}/appReducer/index.js | 0 src/{redux => reduxConfig}/appReducer/sagas.js | 0 src/{redux => reduxConfig}/authReducer/actions.js | 0 src/{redux => reduxConfig}/authReducer/constants.js | 0 src/{redux => reduxConfig}/authReducer/index.js | 0 src/{redux => reduxConfig}/authReducer/sagas.js | 0 src/{redux => reduxConfig}/index.js | 0 src/{redux => reduxConfig}/sagas/index.js | 0 src/screens/Login/index.js | 2 +- src/screens/SignUp/index.js | 2 +- src/screens/Welcome/index.js | 2 +- src/services/httpClient.js | 2 +- 15 files changed, 5 insertions(+), 5 deletions(-) rename src/{redux => reduxConfig}/appReducer/actions.js (100%) rename src/{redux => reduxConfig}/appReducer/constants.js (100%) rename src/{redux => reduxConfig}/appReducer/index.js (100%) rename src/{redux => reduxConfig}/appReducer/sagas.js (100%) rename src/{redux => reduxConfig}/authReducer/actions.js (100%) rename src/{redux => reduxConfig}/authReducer/constants.js (100%) rename src/{redux => reduxConfig}/authReducer/index.js (100%) rename src/{redux => reduxConfig}/authReducer/sagas.js (100%) rename src/{redux => reduxConfig}/index.js (100%) rename src/{redux => reduxConfig}/sagas/index.js (100%) diff --git a/App.js b/App.js index 7e5c6e3..bc34b16 100644 --- a/App.js +++ b/App.js @@ -4,7 +4,7 @@ import { Provider } from 'react-redux'; import { PersistGate } from 'redux-persist/integration/react'; import SplashScreen from 'react-native-splash-screen'; -import { store, persistor } from './src/redux'; +import { store, persistor } from './src/reduxConfig'; import MainStackNavigator from './src/navigation/MainStackNavigator'; diff --git a/src/redux/appReducer/actions.js b/src/reduxConfig/appReducer/actions.js similarity index 100% rename from src/redux/appReducer/actions.js rename to src/reduxConfig/appReducer/actions.js diff --git a/src/redux/appReducer/constants.js b/src/reduxConfig/appReducer/constants.js similarity index 100% rename from src/redux/appReducer/constants.js rename to src/reduxConfig/appReducer/constants.js diff --git a/src/redux/appReducer/index.js b/src/reduxConfig/appReducer/index.js similarity index 100% rename from src/redux/appReducer/index.js rename to src/reduxConfig/appReducer/index.js diff --git a/src/redux/appReducer/sagas.js b/src/reduxConfig/appReducer/sagas.js similarity index 100% rename from src/redux/appReducer/sagas.js rename to src/reduxConfig/appReducer/sagas.js diff --git a/src/redux/authReducer/actions.js b/src/reduxConfig/authReducer/actions.js similarity index 100% rename from src/redux/authReducer/actions.js rename to src/reduxConfig/authReducer/actions.js diff --git a/src/redux/authReducer/constants.js b/src/reduxConfig/authReducer/constants.js similarity index 100% rename from src/redux/authReducer/constants.js rename to src/reduxConfig/authReducer/constants.js diff --git a/src/redux/authReducer/index.js b/src/reduxConfig/authReducer/index.js similarity index 100% rename from src/redux/authReducer/index.js rename to src/reduxConfig/authReducer/index.js diff --git a/src/redux/authReducer/sagas.js b/src/reduxConfig/authReducer/sagas.js similarity index 100% rename from src/redux/authReducer/sagas.js rename to src/reduxConfig/authReducer/sagas.js diff --git a/src/redux/index.js b/src/reduxConfig/index.js similarity index 100% rename from src/redux/index.js rename to src/reduxConfig/index.js diff --git a/src/redux/sagas/index.js b/src/reduxConfig/sagas/index.js similarity index 100% rename from src/redux/sagas/index.js rename to src/reduxConfig/sagas/index.js diff --git a/src/screens/Login/index.js b/src/screens/Login/index.js index 4073e5a..8fe6efa 100644 --- a/src/screens/Login/index.js +++ b/src/screens/Login/index.js @@ -12,7 +12,7 @@ import useSetNavigationOptions from '../../hooks/useSetNavigationOptions'; import { useNavigation } from '@react-navigation/native'; -import * as authActions from '../../redux/authReducer/actions'; +import * as authActions from '../../reduxConfig/authReducer/actions'; import styles from './styles'; diff --git a/src/screens/SignUp/index.js b/src/screens/SignUp/index.js index 15d47a5..2b6592e 100644 --- a/src/screens/SignUp/index.js +++ b/src/screens/SignUp/index.js @@ -12,7 +12,7 @@ import Input from '../../components/Input'; import { useNavigation } from '@react-navigation/native'; -import * as authActions from '../../redux/authReducer/actions'; +import * as authActions from '../../reduxConfig/authReducer/actions'; import { checkConfirmationPassword, diff --git a/src/screens/Welcome/index.js b/src/screens/Welcome/index.js index ac37d24..81a40d2 100644 --- a/src/screens/Welcome/index.js +++ b/src/screens/Welcome/index.js @@ -11,7 +11,7 @@ import useSetNavigationOptions from '../../hooks/useSetNavigationOptions'; import { useNavigation } from '@react-navigation/native'; -import * as authActions from '../../redux/authReducer/actions'; +import * as authActions from '../../reduxConfig/authReducer/actions'; import styles from './styles'; diff --git a/src/services/httpClient.js b/src/services/httpClient.js index 2f2acf5..257fc74 100644 --- a/src/services/httpClient.js +++ b/src/services/httpClient.js @@ -1,7 +1,7 @@ import axios from 'axios'; // import applyConverters from 'axios-case-converter'; import env from 'react-native-config'; -import { store } from '../redux'; +import { store } from '../reduxConfig'; const axiosClient = () => { const { token } = store.getState().authReducer;