Shun Miyazawa 1 سال پیش
والد
کامیت
7a0a9ee1b8
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      apps/app/src/features/openai/client/components/AiAssistant/Sidebar/AiAssistantTree.tsx

+ 1 - 2
apps/app/src/features/openai/client/components/AiAssistant/Sidebar/AiAssistantTree.tsx

@@ -105,10 +105,9 @@ const dummyThreads = [
 
 type AiAssistantTreeProps = {
   aiAssistants: AiAssistantHasId[];
-  onThreadClick?: (threadId: string) => void;
 };
 
-export const AiAssistantTree: React.FC<AiAssistantTreeProps> = ({ aiAssistants, onThreadClick }) => {
+export const AiAssistantTree: React.FC<AiAssistantTreeProps> = ({ aiAssistants }) => {
   return (
     <ul className="list-group">
       {aiAssistants.map(assistant => (