-
+
Вернуться к списку
@@ -103,6 +103,6 @@ const SingleReportPage = () => {
)
-}
+};
export default SingleReportPage
diff --git a/src/pages/Summary.js b/src/pages/Summary.js
index cb3694a2..d9fbd30a 100644
--- a/src/pages/Summary.js
+++ b/src/pages/Summary.js
@@ -1,9 +1,9 @@
import React, {useEffect, useState} from 'react';
-import { ProfileHeader } from "../components/Profile/ProfileHeader";
+import {ProfileHeader} from "../components/Profile/ProfileHeader";
import {getProfileInfo} from "../redux/outstaffingSlice";
-import { useSelector } from "react-redux";
+import {useSelector} from "react-redux";
import {transformHtml} from "../helper";
-import { Footer } from '../components/Footer/Footer'
+import {Footer} from '../components/Footer/Footer'
import arrow from "../images/right-arrow.png";
import rightArrow from "../images/arrowRight.png"
@@ -13,16 +13,16 @@ import '../components/Profile/summary.scss'
import {fetchGet} from "../server/server";
export const Summary = () => {
- const profileInfo = useSelector(getProfileInfo)
+ const profileInfo = useSelector(getProfileInfo);
const [openGit, setOpenGit] = useState(false);
- const [gitInfo, setGitInfo] = useState([])
+ const [gitInfo, setGitInfo] = useState([]);
useEffect(() => {
fetchGet({
link: `${process.env.REACT_APP_API_URL}/api/profile/portfolio-projects?card_id=${localStorage.getItem('cardId')}`,
}).then((responseGit) => {
setGitInfo(responseGit)
})
- }, [])
+ }, []);
return(
@@ -35,7 +35,7 @@ export const Summary = () => {
}
-
+
{profileInfo.fio} {profileInfo.specification}
{!openGit &&
@@ -80,11 +80,11 @@ export const Summary = () => {