diff --git a/gatsby-theme-mate/src/components/Header.tsx b/gatsby-theme-mate/src/components/Header.tsx index 4369de2..352f2c1 100644 --- a/gatsby-theme-mate/src/components/Header.tsx +++ b/gatsby-theme-mate/src/components/Header.tsx @@ -3,7 +3,6 @@ import Headroom from 'react-headroom'; import { Box, Link as RebassLink, Flex, Image } from 'rebass/styled-components'; import styled from 'styled-components'; import Link from './Link'; -import { capitalize } from '../utils/string'; import { useHelmetQuery } from '../queries/useHelmetQuery'; import { SECTION } from '../utils/constants'; import { getSectionHref } from '../utils/helpers'; @@ -37,7 +36,7 @@ const Header = () => { .map((id) => ( - {capitalize(id)} + {SECTION[id]} ))}