diff options
| author | gabrhr <[email protected]> | 2022-05-30 20:08:04 -0500 |
|---|---|---|
| committer | gabrhr <[email protected]> | 2022-05-30 20:08:04 -0500 |
| commit | 32fb17de8f78317b165b6f269a8bab2d4e852d0d (patch) | |
| tree | 2de1643fcda13cc5c9c0f28ffcb7a7211d9e2922 /front/odiparpack/app/app.js | |
| parent | 9c396976bb42a9d41407358ce1a1d37242230f21 (diff) | |
| download | DP1_project-32fb17de8f78317b165b6f269a8bab2d4e852d0d.tar.gz DP1_project-32fb17de8f78317b165b6f269a8bab2d4e852d0d.tar.bz2 DP1_project-32fb17de8f78317b165b6f269a8bab2d4e852d0d.zip | |
Fix axios and add new
- FIX logica de aƱadiir (ok)
- FIX axios y dispatch fuera de un componente (ok)
- Cambiar las notificaciones
Diffstat (limited to 'front/odiparpack/app/app.js')
| -rw-r--r-- | front/odiparpack/app/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/front/odiparpack/app/app.js b/front/odiparpack/app/app.js index 6845268..34f6a9f 100644 --- a/front/odiparpack/app/app.js +++ b/front/odiparpack/app/app.js @@ -34,9 +34,13 @@ import { translationMessages } from './i18n'; // Create redux store with history const initialState = {}; -const store = configureStore(initialState, history); +//const store = configureStore(initialState, history); const MOUNT_NODE = document.getElementById('app'); +//New store +import { confStore } from './redux/configureStore'; +const store = confStore() + const render = messages => { ReactDOM.render( <Provider store={store}> |
