Skip to content

Commit 933c43d

Browse files
authored
feat(gatsby-admin): fix logo link
1 parent 733fabf commit 933c43d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/gatsby-admin/src/components/navbar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ function SendFeedbackButton(props): JSX.Element {
1515
)
1616
}
1717

18-
const homepagePath = process.env.NODE_ENV === `development` ? `/` : `/___admin`
19-
2018
function Navbar(): JSX.Element {
2119
const [{ data }] = useQuery({
2220
query: `
@@ -41,7 +39,7 @@ function Navbar(): JSX.Element {
4139
<Flex
4240
as={Link}
4341
// @ts-ignore
44-
to={homepagePath}
42+
to="/"
4543
gap={5}
4644
alignItems="baseline"
4745
sx={{ textDecoration: `none` }}

0 commit comments

Comments
 (0)