@@ -10,20 +10,23 @@ import TitleSection from "../../components/SectionTitle/TitleSection";
1010import { useWindowSize } from "react-use" ;
1111import data from "../../data/2023.json" ;
1212import {
13- Companies , CompanyNameLink , StyledLessIcon , StyledMoreIcon ,
14- StyledTitleContainer
13+ Companies ,
14+ CompanyNameLink ,
15+ StyledLessIcon ,
16+ StyledMoreIcon ,
17+ StyledTitleContainer ,
1518} from "../../styles/JobOffers/JobOffers.Style" ;
1619import CompanyOffers from "../../components/JobOffers/CompanyOffers" ;
17- import { useDocumentTitleUpdater } from "../../services /useDocumentTitleUpdate" ;
20+ import { useDocumentTitleUpdater } from "../../hooks /useDocumentTitleUpdate" ;
1821
1922const NoOffersAvailable = ( ) => (
20- < h4 style = { { color : Color . DARK_BLUE } } > No job offers available yet</ h4 >
23+ < h4 style = { { color : Color . DARK_BLUE } } > No job offers available yet</ h4 >
2124) ;
2225
23- const MoreThanLessThan = ( props : { width : number } ) => (
24- < >
25- < StyledLessIcon src = { LessThanBlueIcon } />
26- < StyledMoreIcon src = { MoreThanBlueIcon } />
26+ const MoreThanLessThan = ( ) => (
27+ < >
28+ < StyledLessIcon src = { LessThanBlueIcon } />
29+ < StyledMoreIcon src = { MoreThanBlueIcon } />
2730 </ >
2831) ;
2932
@@ -42,7 +45,7 @@ const JobOffers2023: FC<React.PropsWithChildren<unknown>> = () => {
4245 color = { Color . BLACK_BLUE }
4346 />
4447 </ StyledTitleContainer >
45- { width > MOBILE_BREAKPOINT && < MoreThanLessThan width = { width } /> }
48+ { width > MOBILE_BREAKPOINT && < MoreThanLessThan /> }
4649 { ! data . jobOffers . enabled && < NoOffersAvailable /> }
4750 { data . jobOffers . enabled && (
4851 < div id = "job-offers" >
0 commit comments