aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/AppBar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/components/AppBar.tsx')
-rw-r--r--FrontEnd/src/components/AppBar.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/FrontEnd/src/components/AppBar.tsx b/FrontEnd/src/components/AppBar.tsx
index d40c8105..6ea8bdac 100644
--- a/FrontEnd/src/components/AppBar.tsx
+++ b/FrontEnd/src/components/AppBar.tsx
@@ -37,7 +37,8 @@ function AppBarNavLink({
className={({ isActive }) => classnames(className, isActive && "active")}
onClick={onClick}
>
- {children != null ? children : c(label)}
+ {children}
+ {label && c(label)}
</NavLink>
);
}