mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
chore: panel memo
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import useConfig from './use-config'
|
||||
import type { CodeNodeType } from './types'
|
||||
@ -87,4 +88,4 @@ const Panel: FC<NodeProps<CodeNodeType>> = ({
|
||||
)
|
||||
}
|
||||
|
||||
export default Panel
|
||||
export default React.memo(Panel)
|
||||
|
||||
Reference in New Issue
Block a user