Skip to content

Commit

Permalink
Optimisation du build
Browse files Browse the repository at this point in the history
  • Loading branch information
NerOcrO committed Jul 29, 2024
1 parent 9d9f89a commit b4d4b42
Show file tree
Hide file tree
Showing 16 changed files with 415 additions and 389 deletions.
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"react-redux": "^9.1.2",
"react-router-dom": "^6.25.1",
"redux": "^5.0.1",
"remixicon": "^4.3.0",
"vite": "^5.3.4",
"web-vitals": "^4.2.2"
},
Expand Down
1 change: 0 additions & 1 deletion public/logos/ex-libris-france-services.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/logos/logo-banque-des-territoires.svg

This file was deleted.

Binary file removed public/logos/pix-citoyen.png
Binary file not shown.
Binary file removed public/logos/pix-ressources.png
Binary file not shown.
Binary file removed public/logos/pix-utilisation.png
Binary file not shown.
13 changes: 7 additions & 6 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
import React from 'react';
import { Routes, Route, Navigate } from 'react-router-dom';
import './assets/js/app.js';
import './assets/css/app.scss';
import Login from './components/anonymous/Login.js';
import Home from './components/connected/Home.js';
import Login from './components/anonymous/Login';
import Home from './components/connected/Home';
import ChoosePassword from './components/anonymous/createAccount/ChoosePassword';

import PrivateRoute from './components/connected/PrivateRoute';
import Footer from './components/common/Footer';
import EmailConfirmer from './components/anonymous/ConfirmationEmail';
import ForgottenPassword from './components/anonymous/ForgottenPassword';
import CandidatureSupprimee from './components/anonymous/CandidatureSupprimee';
import { useSelector } from 'react-redux';

function App() {
import '@gouvfr/dsfr/dist/dsfr/dsfr.module.min.js';
import '@gouvfr/dsfr/dist/dsfr/dsfr.min.css';
import './assets/css/app.scss';

function App() {
const isLoading = useSelector(state => state.alerteEtSpinner?.isLoading);

return (
<div className="App">
{isLoading &&
Expand Down
4 changes: 2 additions & 2 deletions src/actions/conseiller.actions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import download from 'downloadjs';
import { conseillerService } from '../services/conseiller.service.js';
import { userService } from '../services/user.service.js';
import { conseillerService } from '../services/conseiller.service';
import { userService } from '../services/user.service';

export const conseillerActions = {
get,
Expand Down
2 changes: 1 addition & 1 deletion src/actions/user.actions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { userService } from '../services/user.service.js';
import { userService } from '../services/user.service';

export const userActions = {
login,
Expand Down
Loading

0 comments on commit b4d4b42

Please sign in to comment.