From b918c7ea288609f76552ae3fb81290619c754c5e Mon Sep 17 00:00:00 2001 From: M1kola Date: Mon, 2 Jan 2023 22:52:41 +0300 Subject: [PATCH] adaptation --- src/components/Profile/ProfileHeader.js | 6 +- src/components/Profile/profile.scss | 67 +++++++++++++++++++++-- src/components/Profile/profileHeader.scss | 12 ++++ 3 files changed, 77 insertions(+), 8 deletions(-) diff --git a/src/components/Profile/ProfileHeader.js b/src/components/Profile/ProfileHeader.js index b1487ddd..95d8ca0d 100644 --- a/src/components/Profile/ProfileHeader.js +++ b/src/components/Profile/ProfileHeader.js @@ -3,7 +3,7 @@ import {auth, getProfileInfo, setProfileInfo} from "../../redux/outstaffingSlice import {useDispatch, useSelector} from "react-redux"; import {Loader} from '../Loader/Loader' import {getRole} from "../../redux/roleSlice"; -import {useHistory} from "react-router-dom"; +import {useHistory, NavLink} from "react-router-dom"; import {fetchGet} from "../../server/server"; import './profileHeader.scss' @@ -42,8 +42,8 @@ export const ProfileHeader = () => {