@@ -11,18 +11,20 @@ import {
11
11
StyledSponsorTitleSlashesContainer ,
12
12
} from "./Sponsors.style" ;
13
13
import SponsorBadge from "./SponsorBadge" ;
14
- import { Color } from "../../../../styles/colors" ;
15
- import { BIG_BREAKPOINT } from "../../../../constants/BreakPoints" ;
16
- import { buildSlashes } from "./Sponsors" ;
17
- import { useWindowSize } from "react-use" ;
18
- import React , { FC , useCallback , useEffect , useState } from "react" ;
19
- import { Sponsor } from "./SponsorsData" ;
14
+ import { Color } from "../../../../styles/colors" ;
15
+ import { BIG_BREAKPOINT } from "../../../../constants/BreakPoints" ;
16
+ import { buildSlashes } from "./Sponsors" ;
17
+ import { useWindowSize } from "react-use" ;
18
+ import React , { FC , useCallback , useEffect , useState } from "react" ;
19
+ import { Sponsor } from "./SponsorsData" ;
20
20
21
21
interface Props {
22
22
sponsors : Array < Sponsor > | null ;
23
23
}
24
24
25
- export const MediaPartners : FC < React . PropsWithChildren < Props > > = ( { sponsors} ) => {
25
+ export const MediaPartners : FC < React . PropsWithChildren < Props > > = ( {
26
+ sponsors,
27
+ } ) => {
26
28
const { width } = useWindowSize ( ) ;
27
29
const [ slashes , setSlashes ] = useState ( "" ) ;
28
30
const [ isHovered , setIsHovered ] = useState < boolean > ( false ) ;
@@ -39,7 +41,7 @@ export const MediaPartners: FC<React.PropsWithChildren<Props>> = ({sponsors}) =>
39
41
{ sponsors !== null && sponsors . length > 0 && (
40
42
< StyledSponsorItemContainer
41
43
className = "SponsorItem virtual"
42
- id = "virtual-sponsors "
44
+ id = "media-partners "
43
45
onMouseEnter = { handleHoverMediaPartner }
44
46
onMouseLeave = { handleUnHoverMediaPartner }
45
47
>
0 commit comments