diff --git a/src/components/App.tsx b/src/components/App.tsx index cb963fb6..1edbd5e6 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -87,6 +87,8 @@ export default function App() { [reloadCurrentWalletInfo], ) + debugger + const router = createBrowserRouter( createRoutesFromElements( - {t('app.alert_no_connection', { connectionError: sessionConnectionError.message })}.{' '} - {!sessionConnectionError.response?.ok && sessionConnectionError.response?.url && ( - - {sessionConnectionError.response.url} - - ), - 2: ( - - the docs - - ), - }} - /> +
+ {t('app.alert_no_connection', { connectionError: sessionConnectionError.message })} +
+ {!sessionConnectionError.response?.ok && ( + <> +

+ + the docs + + ), + }} + /> +

+
+                        {sessionConnectionError.response.status} {sessionConnectionError.response.statusText} 
+                        {sessionConnectionError.response.url}
+                      
+ )} } diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index 4b035bdd..8ddf45d3 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -32,7 +32,7 @@ }, "app": { "alert_no_connection": "No connection to backend: {{ connectionError }}", - "alert_no_connection_details": "Unable to access <1>this URL. Please confirm that the backend is running and see <2>the docs for more information.", + "alert_no_connection_details": "Please confirm that the backend is running and <1>see the docs for more information.", "alert_rescan_in_progress": "Rescanning in progress..." }, "navbar": {