diff --git a/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js b/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js index 0b0c33e9..d453d256 100644 --- a/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js +++ b/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useState } from 'react'; import { NavLink } from "react-router-dom"; diff --git a/Site Web/client/src/pages/HomeNavigation.js b/Site Web/client/src/pages/HomeNavigation.js index 4afa0367..4d472cd2 100644 --- a/Site Web/client/src/pages/HomeNavigation.js +++ b/Site Web/client/src/pages/HomeNavigation.js @@ -3,11 +3,6 @@ import { UidContext } from '../components/AppContext'; import Log from '../components/Log' import Home from './Home'; -import { NavLink } from 'react-router-dom'; -import NewPoste from "../components/NewPoste"; -import AjoutLien from "../components/AjoutLien"; -// - const HomeNavigation = () => { const uid = useContext(UidContext);