From 237ef6d763293891b500096c7d6bf1c028fc9ce8 Mon Sep 17 00:00:00 2001 From: Ludo Date: Mon, 4 May 2026 17:15:51 +0200 Subject: [PATCH] feat: only have warning message if api not reachable --- apps/web/src/App.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 534474c..23871d9 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -105,11 +105,11 @@ function App() { -
- {apiStatus === 'loading' && t.statusLoading} - {apiStatus === 'ok' && t.statusOk} - {apiStatus === 'error' && t.statusError} -
+ {apiStatus === 'error' && ( +
+ {t.statusError} +
) + } {error && (