diff --git a/src/views/ChatPanel/index.tsx b/src/views/ChatPanel/index.tsx index 82e78fd..0678a19 100644 --- a/src/views/ChatPanel/index.tsx +++ b/src/views/ChatPanel/index.tsx @@ -215,6 +215,24 @@ const chatPanel = () => { }); }, [registed]); + const commandMenuIcon = (pattern: string) => { + if (pattern === 'code') { + return (); + } + if (pattern === 'commit_message') { + return (); + } + }; useEffect(() => { let filtered = commandMenus; if (input) { @@ -244,13 +262,7 @@ const chatPanel = () => { aria-checked={index === currentMenuIndex} data-pattern={pattern} > - + {commandMenuIcon(pattern)}