+ )
+}))
describe('Flowchart', () => {
const successText = 'Flowchart rendering succeeded!'
diff --git a/frontend/src/extensions/external-lib-app-extensions/flowchart/flowchart.tsx b/frontend/src/extensions/external-lib-app-extensions/flowchart/flowchart.tsx
index ecd6b6a8d..a08b7c085 100644
--- a/frontend/src/extensions/external-lib-app-extensions/flowchart/flowchart.tsx
+++ b/frontend/src/extensions/external-lib-app-extensions/flowchart/flowchart.tsx
@@ -11,9 +11,9 @@ import { useDarkModeState } from '../../../hooks/dark-mode/use-dark-mode-state'
import { Logger } from '../../../utils/logger'
import { testId } from '../../../utils/test-id'
import React, { useEffect, useRef, useState } from 'react'
-import { Alert } from 'react-bootstrap'
-import { Trans, useTranslation } from 'react-i18next'
+import { useTranslation } from 'react-i18next'
import { useAsync } from 'react-use'
+import { TranslatedApplicationErrorAlert } from '../../../components/common/application-error-alert/translated-application-error-alert'
const log = new Logger('FlowChart')
@@ -72,9 +72,7 @@ export const FlowChart: React.FC = ({ code }) => {
return (
-
-
-
+
diff --git a/frontend/src/extensions/external-lib-app-extensions/katex/__snapshots__/katex-frame.spec.tsx.snap b/frontend/src/extensions/external-lib-app-extensions/katex/__snapshots__/katex-frame.spec.tsx.snap
index 4c0f0203e..3164c81f5 100644
--- a/frontend/src/extensions/external-lib-app-extensions/katex/__snapshots__/katex-frame.spec.tsx.snap
+++ b/frontend/src/extensions/external-lib-app-extensions/katex/__snapshots__/katex-frame.spec.tsx.snap
@@ -89,13 +89,19 @@ exports[`katex frame renders an error for an invalid latex expression as explici
- This is a mock for ApplicationErrorAlert.
-
- Props:
- {"className":""}
-
- Children:
- mocked parseerror
+
+
+ This is a mock for ApplicationErrorAlert.
+
+ Props:
+
+ {"className":""}
+
+ Children:
+
+ mocked parseerror
+
+
`;
@@ -105,13 +111,19 @@ exports[`katex frame renders an error for an invalid latex expression as explici
- This is a mock for ApplicationErrorAlert.
-
- Props:
- {"className":"d-inline-block"}
-
- Children:
- mocked parseerror
+
`;
@@ -121,13 +133,19 @@ exports[`katex frame renders an error for an invalid latex expression as implici
- This is a mock for ApplicationErrorAlert.
-
- Props:
- {"className":"d-inline-block"}
-
- Children:
- mocked parseerror
+