From 1dc869971e856a8f775aeeb0793a3a41cd453a83 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Wed, 12 Feb 2025 08:30:00 +0000 Subject: [PATCH] fix: small ui bug in 404 pages (#19254) --- apps/web/app/not-found.tsx | 5 ++--- apps/web/pages/404.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx index a3bfdee391..5cb55dd872 100644 --- a/apps/web/app/not-found.tsx +++ b/apps/web/app/not-found.tsx @@ -122,8 +122,7 @@ async function NotFound() { {t("check_spelling_mistakes_or_go_back")} ) : IS_CALCOM ? ( - {t(`404_the_${pageType.toLowerCase()}`)} - + {t(`404_the_${pageType.toLowerCase()}`)}{" "} {username ? ( <> {username} @@ -137,7 +136,7 @@ async function NotFound() { {t(`404_the_${pageType.toLowerCase()}`)}{" "} {username ? ( <> - {username}{" "} + {username}{" "} {t("is_still_available")} ) : null} diff --git a/apps/web/pages/404.tsx b/apps/web/pages/404.tsx index a90e17681f..f809a11f10 100644 --- a/apps/web/pages/404.tsx +++ b/apps/web/pages/404.tsx @@ -155,7 +155,7 @@ export default function Custom404() { ) : ( {t(`404_the_${currentPageType.toLowerCase()}`)}{" "} - {username}{" "} + {username}{" "} {t("is_still_available")} )}