mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-26 17:09:01 +02:00
Refactor chat
This commit is contained in:
@@ -16,7 +16,7 @@ import {
|
|||||||
Loader2Icon,
|
Loader2Icon,
|
||||||
LockIcon,
|
LockIcon,
|
||||||
PauseCircleIcon,
|
PauseCircleIcon,
|
||||||
SendIcon
|
SendIcon,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { ChatEditor } from '../ChatEditor/ChatEditor';
|
import { ChatEditor } from '../ChatEditor/ChatEditor';
|
||||||
import { roadmapTreeMappingOptions } from '../../queries/roadmap-tree';
|
import { roadmapTreeMappingOptions } from '../../queries/roadmap-tree';
|
||||||
@@ -394,6 +394,7 @@ export function RoadmapAIChat(props: RoadmapAIChatProps) {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{!isLoading && (
|
||||||
<div className="relative flex items-start border-t border-gray-200 text-sm">
|
<div className="relative flex items-start border-t border-gray-200 text-sm">
|
||||||
<ChatEditor
|
<ChatEditor
|
||||||
editorRef={editorRef}
|
editorRef={editorRef}
|
||||||
@@ -478,6 +479,7 @@ export function RoadmapAIChat(props: RoadmapAIChatProps) {
|
|||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user