diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-15 17:16:54 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-15 17:16:54 +0100 |
| commit | 0bc323a777a607090af87636026f668104cf8a0c (patch) | |
| tree | 0d1bff955bc0d7b524317557c2d25afbe00b76ef /src/components/Header | |
| parent | 516f8256a4f72c7a01752d9aa4e035276fb08b51 (diff) | |
fix: change branding title tag on homepage
I forgot to pass isHome arg...
Diffstat (limited to 'src/components/Header')
| -rw-r--r-- | src/components/Header/Header.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 52da2e8..6691eb9 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -2,11 +2,11 @@ import Branding from '@components/Branding/Branding'; import MainNav from '@components/MainNav/MainNav'; import styles from './Header.module.scss'; -const Header = () => { +const Header = ({ isHome }: { isHome: boolean }) => { return ( <header className={styles.wrapper}> <div className={styles.body}> - <Branding /> + <Branding isHome={isHome} /> <MainNav /> </div> </header> |
