components/Header/index.js
Function HeaderLinks
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const HeaderLinks = () => {
const { locale, asPath } = useRouter();
return (
<>
<Link
Function Header
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Header = () => {
const { locale } = useRouter();
return (
<Container maxW="6xl">
<Flex h="90px" alignItems="center">