diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 23:08:04 -0700 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 23:09:31 -0700 |
| commit | 91180344b1b58cb0cb657f63f7621f8fda959608 (patch) | |
| tree | 7911775c3971b3812973f7d3d622dc7a2931465e /src/components | |
| parent | 08238290c2bae61592f5626d021c49e4a7fc26e8 (diff) | |
Move app name to a constant
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Header/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index bdc4919..874ba6e 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -1,5 +1,6 @@ import React from "react"; import { IoInformationCircleOutline } from "react-icons/io5"; +import { appName } from "../../constants"; import * as Styled from "./index.styled"; @@ -18,7 +19,7 @@ export function Header({ openInfoPopUp }: Props) { height={30} /> - <Styled.Logo>EpicWolverine's Heardle</Styled.Logo> + <Styled.Logo>{appName}</Styled.Logo> <a href="#"></a> </Styled.Content> </Styled.Container> |
