diff --git a/.eslintrc.js b/.eslintrc.js index dfc7bd0..b4a7851 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -71,6 +71,7 @@ const eslint = { 'react/jsx-curly-newline': 'off', 'react/function-component-definition': 'off', 'react/jsx-no-useless-fragment': 'off', + 'no-nested-ternary': 'off', }, parserOptions: { ecmaFeatures: { diff --git a/components/Layout/Footer.tsx b/components/Layout/Footer.tsx index 32e16a9..59c9345 100644 --- a/components/Layout/Footer.tsx +++ b/components/Layout/Footer.tsx @@ -1,6 +1,8 @@ +import Link from 'next/link'; + import styles from './Footer.module.scss'; -const Footer = () => { +const Footer = ({ hasValidSession }: { hasValidSession: boolean }) => { return (