diff --git a/services/web/frontend/js/features/header-footer-react/index.tsx b/services/web/frontend/js/features/header-footer-react/index.tsx
index ebbf4ddecf..94a43b65fa 100644
--- a/services/web/frontend/js/features/header-footer-react/index.tsx
+++ b/services/web/frontend/js/features/header-footer-react/index.tsx
@@ -1,6 +1,6 @@
import { createRoot } from 'react-dom/client'
import getMeta from '@/utils/meta'
-import DefaultNavbar from '@/features/ui/components/bootstrap-5/navbar/default-navbar'
+import { DefaultNavbarRoot } from '@/features/ui/components/bootstrap-5/navbar/default-navbar'
import Footer from '@/features/ui/components/bootstrap-5/footer/footer'
import { SplitTestProvider } from '@/shared/context/split-test-context'
@@ -10,7 +10,7 @@ if (navbarElement) {
const root = createRoot(navbarElement)
root.render(
-
+
)
}
diff --git a/services/web/frontend/js/features/ui/components/bootstrap-5/navbar/default-navbar.tsx b/services/web/frontend/js/features/ui/components/bootstrap-5/navbar/default-navbar.tsx
index a5fb5afd10..84ed9b8da8 100644
--- a/services/web/frontend/js/features/ui/components/bootstrap-5/navbar/default-navbar.tsx
+++ b/services/web/frontend/js/features/ui/components/bootstrap-5/navbar/default-navbar.tsx
@@ -34,7 +34,6 @@ function DefaultNavbar(props: DefaultNavbarMetadata) {
items,
} = props
const { t } = useTranslation()
- const { isReady } = useWaitForI18n()
const [expanded, setExpanded] = useState(false)
// The Contact Us modal is rendered at this level rather than inside the nav
@@ -44,10 +43,6 @@ function DefaultNavbar(props: DefaultNavbarMetadata) {
autofillProjectUrl: false,
})
- if (!isReady) {
- return null
- }
-
return (
<>
{
+ const { isReady } = useWaitForI18n()
+
+ if (!isReady) {
+ return null
+ }
+
+ return
+}
+
export default DefaultNavbar
diff --git a/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx b/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx
index 105e52f0aa..b2df8b40eb 100644
--- a/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx
+++ b/services/web/test/frontend/features/settings/components/emails/emails-section-add-new-email.test.tsx
@@ -384,7 +384,7 @@ describe('', function () {
department: customDepartment,
})
- screen.getByText(
+ await screen.findByText(
`Enter the 6-digit confirmation code sent to ${userEmailData.email}.`
)