mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-02 10:42:36 +08:00
### What problem does this PR solve? Feat: Use memo to wrap canvas nodes to improve fluency #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { getLLMIconName, getLlmNameAndFIdByLlmId } from '@/utils/llm-util';
|
||||
import { memo } from 'react';
|
||||
import { LlmIcon } from '../svg-icon';
|
||||
|
||||
interface IProps {
|
||||
@ -24,4 +25,4 @@ const LLMLabel = ({ value }: IProps) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default LLMLabel;
|
||||
export default memo(LLMLabel);
|
||||
|
||||
Reference in New Issue
Block a user