Skip to content

Commit

Permalink
feat(gatsby-admin): fix logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Sep 14, 2020
1 parent 733fabf commit 933c43d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/gatsby-admin/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ function SendFeedbackButton(props): JSX.Element {
)
}

const homepagePath = process.env.NODE_ENV === `development` ? `/` : `/___admin`

function Navbar(): JSX.Element {
const [{ data }] = useQuery({
query: `
Expand All @@ -41,7 +39,7 @@ function Navbar(): JSX.Element {
<Flex
as={Link}
// @ts-ignore
to={homepagePath}
to="/"
gap={5}
alignItems="baseline"
sx={{ textDecoration: `none` }}
Expand Down

0 comments on commit 933c43d

Please sign in to comment.