We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733fabf commit 933c43dCopy full SHA for 933c43d
packages/gatsby-admin/src/components/navbar.tsx
@@ -15,8 +15,6 @@ function SendFeedbackButton(props): JSX.Element {
15
)
16
}
17
18
-const homepagePath = process.env.NODE_ENV === `development` ? `/` : `/___admin`
19
-
20
function Navbar(): JSX.Element {
21
const [{ data }] = useQuery({
22
query: `
@@ -41,7 +39,7 @@ function Navbar(): JSX.Element {
41
39
<Flex
42
40
as={Link}
43
// @ts-ignore
44
- to={homepagePath}
+ to="/"
45
gap={5}
46
alignItems="baseline"
47
sx={{ textDecoration: `none` }}
0 commit comments