diff --git a/web-app/src/containers/dialogs/CortexFailureDialog.tsx b/web-app/src/containers/dialogs/CortexFailureDialog.tsx index b14ecf443..bdd2aff2e 100644 --- a/web-app/src/containers/dialogs/CortexFailureDialog.tsx +++ b/web-app/src/containers/dialogs/CortexFailureDialog.tsx @@ -18,13 +18,10 @@ export function CortexFailureDialog() { useEffect(() => { let unlisten: (() => void) | undefined const setupListener = async () => { - unlisten = await listen( - 'cortex_max_restarts_reached', - (event) => { - console.log('Cortex max restarts reached event received:', event) - setShowDialog(true) - } - ) + unlisten = await listen('cortex_max_restarts_reached', (event) => { + console.log('Cortex max restarts reached event received:', event) + setShowDialog(true) + }) } setupListener() @@ -55,34 +52,40 @@ export function CortexFailureDialog() { - {t('cortexFailureDialog.title', 'Local AI Engine Issue')} + + {t('cortexFailureDialog.title', 'Local AI Engine Issue')} + - {t('cortexFailureDialog.description', 'The local AI engine (Cortex) failed to start after multiple attempts. This might prevent some features from working correctly.')} + {t( + 'cortexFailureDialog.description', + 'The local AI engine (Cortex) failed to start after multiple attempts. This might prevent some features from working correctly.' + )} - + - - ) -} \ No newline at end of file +}