Skip to content

Commit

Permalink
del mermaid front-end rendering rerender
Browse files Browse the repository at this point in the history
  • Loading branch information
luowei authored and luowei committed Oct 25, 2023
1 parent 423560b commit 948157c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions web/app/components/app/chat/mermaid/index.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -105,7 +104,6 @@ const Flowchart = React.forwardRef((props: {
{svgCode && <img src={svgCode} style={{ width: '100%', height: 'auto' }} alt="Mermaid chart" />}
</div>
}
<button onClick={handleReRender}>{t('appApi.merMaind.rerender')}</button>
</div>
)
})
Expand Down

0 comments on commit 948157c

Please sign in to comment.