({
onLogoClick,
position,
compact = false,
className,
isRecruiter = false,
href,
}: HeaderLogoProps)
| 16 | } |
| 17 | |
| 18 | function HeaderLogo({ |
| 19 | onLogoClick, |
| 20 | position, |
| 21 | compact = false, |
| 22 | className, |
| 23 | isRecruiter = false, |
| 24 | href, |
| 25 | }: HeaderLogoProps): ReactElement { |
| 26 | const featureTheme = useFeatureTheme(); |
| 27 | const { user } = useAuthContext(); |
| 28 | |
| 29 | return ( |
| 30 | <Logo |
| 31 | compact={compact} |
| 32 | position={position} |
| 33 | onLogoClick={onLogoClick} |
| 34 | featureTheme={featureTheme} |
| 35 | isPlus={user?.isPlus} |
| 36 | className={className} |
| 37 | isRecruiter={isRecruiter} |
| 38 | href={href} |
| 39 | /> |
| 40 | ); |
| 41 | } |
| 42 | |
| 43 | export default withNoSSR(HeaderLogo); |
nothing calls this directly
no test coverage detected