Skip to content

Commit 7091199

Browse files
committed
fix sugg box
1 parent e398242 commit 7091199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/components/chat.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ export function Chat({ repo, path, setPath, graph, chartRef, selectedPathId, isP
506506
</button>
507507
<form className="grow flex items-center border rounded-md px-2" onSubmit={sendQuery}>
508508
<DropdownMenuTrigger asChild>
509-
<button disabled={isSendMessage} className={`bg-gray-200 p-2 rounded-md ${!isSendMessage && 'hover:bg-gray-300'}`}>
509+
<button className="bg-gray-200 p-2 rounded-md hover:bg-gray-300">
510510
<ArrowDown color="white" />
511511
</button>
512512
</DropdownMenuTrigger>
@@ -522,6 +522,7 @@ export function Chat({ repo, path, setPath, graph, chartRef, selectedPathId, isP
522522
{
523523
SUGGESTIONS.map((s, i) => (
524524
<button
525+
disabled={isSendMessage}
525526
type="submit"
526527
key={i}
527528
className="p-2 text-left hover:bg-gray-200"

0 commit comments

Comments
 (0)