Skip to content

Commit

Permalink
Merge pull request #17 from Krishnansh5/main
Browse files Browse the repository at this point in the history
minor nav fix
  • Loading branch information
Krishnansh5 authored Apr 3, 2023
2 parents 8e43533 + 71401fa commit 42ccc0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/TopNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function TopNavBar({
variant="h6"
noWrap
component="a"
href={(process.env.NODE_ENV === 'production') ? ("clash-hai-bhai/"):("/")}
href={(process.env.NODE_ENV === 'production') ? ("/"):("/")}
sx={{
mr: 2,
display: { xs: 'none', md: 'flex' },
Expand All @@ -37,7 +37,7 @@ export default function TopNavBar({
<Typography
noWrap
component="a"
href={(process.env.NODE_ENV === 'production') ? ("clash-hai-bhai/"+page[0]):(page[0])}
href={(process.env.NODE_ENV === 'production') ? (""+page[0]):(page[0])}
sx={{
mt: 1,
mr: 3,
Expand Down

0 comments on commit 42ccc0f

Please sign in to comment.