chore: panel memo

This commit is contained in:
Joel
2024-03-05 14:54:49 +08:00
parent acacc0a4cb
commit 93999cec56
12 changed files with 24 additions and 12 deletions

View File

@ -1,4 +1,5 @@
import type { FC } from 'react'
import React from 'react'
import { useTranslation } from 'react-i18next'
import Split from '../_base/components/split'
import AddButton from '../_base/components/add-button'
@ -55,4 +56,4 @@ const Panel: FC<NodeProps<IfElseNodeType>> = ({
)
}
export default Panel
export default React.memo(Panel)