diff --git a/frontend/src/components/banner/topBanner.js b/frontend/src/components/banner/topBanner.js
index 9ca7b94538..6dfcab64c8 100644
--- a/frontend/src/components/banner/topBanner.js
+++ b/frontend/src/components/banner/topBanner.js
@@ -9,7 +9,7 @@ export function TopBanner() {
const [, error, data] = useFetchWithAbort(`system/banner/`);
return (
-
+ <>
{location.pathname === '/' && data.visible && !error && (
)}
-
+ >
);
}
diff --git a/frontend/src/views/root.js b/frontend/src/views/root.js
index 643039aca7..73d47e5304 100644
--- a/frontend/src/views/root.js
+++ b/frontend/src/views/root.js
@@ -11,10 +11,7 @@ import { Footer } from '../components/footer';
// Components common to all routes can be included in
export function Root() {
return (
-