diff options
Diffstat (limited to 'src/components/Header.tsx')
-rw-r--r-- | src/components/Header.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Header.tsx b/src/components/Header.tsx index bc77bf8..284d3d8 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -12,7 +12,7 @@ const Header: React.FC<Props> = ({ navigation }) => { return ( <header className="bg-black text-white flex"> {navigation.map(({ name, route }) => ( - <Link to={route} className="py-6 px-8 font-bold tracking-wide hover:underline">{name}</Link> + <Link to={route} key={route} className="py-6 px-8 font-bold tracking-wide hover:underline">{name}</Link> ))} </header> ); |