Skip to content

Commit

Permalink
chore(nav): add braces to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Sep 20, 2024
1 parent 7cc38b5 commit ed6ac8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/app/components/nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ function Nav() {
const nav = useNavItems();
const screen = useBreakpoints();

if (!screen.medium)
if (!screen.medium) {
return (
<NavContainer>
<Mobile />
</NavContainer>
);
}

return (
<NavContainer>
Expand Down

0 comments on commit ed6ac8b

Please sign in to comment.