diff --git a/web/app/components/app/chat/mermaid/index.tsx b/web/app/components/app/chat/mermaid/index.tsx
index 52c0a2020974ff..04d137e5090cdd 100644
--- a/web/app/components/app/chat/mermaid/index.tsx
+++ b/web/app/components/app/chat/mermaid/index.tsx
@@ -1,6 +1,5 @@
import React, { useEffect, useRef, useState } from 'react'
import mermaid from 'mermaid'
-import { t } from 'i18next'
import CryptoJS from 'crypto-js'
let mermaidAPI: any
@@ -105,7 +104,6 @@ const Flowchart = React.forwardRef((props: {
{svgCode && }
}
-
)
})