Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sverzegnassi committed Dec 31, 2023
1 parent 09dbc89 commit 58e278f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ function PageLayout() {
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
color-utils{pathname}
</Typography>
{pathname !== "/" && (
{pathname !== "/color-utils/" && (
<Button color="inherit" component={RouterLink} to="/">
Theme Generator
</Button>
)}
{pathname !== "/random-neutral" && (
{pathname !== "/color-utils/random-neutral" && (
<Button color="inherit" component={RouterLink} to="/random-neutral">
Random Neutral Color
</Button>
Expand Down

0 comments on commit 58e278f

Please sign in to comment.