diff --git a/ui/src/components/Navbar.jsx b/ui/src/components/Navbar.jsx index 23671ed..7b3b53a 100644 --- a/ui/src/components/Navbar.jsx +++ b/ui/src/components/Navbar.jsx @@ -38,10 +38,6 @@ export function Navbar() { return buildTime < oneWeekAgo; }; - const shouldDisplayUpdateBadge = () => { - return !isBuildOrderThanOneWeek() || hasNewPhotos; - }; - return (
@@ -55,7 +51,7 @@ export function Navbar() {
- {shouldDisplayUpdateBadge() && ( + {hasNewPhotos && (
)}