Add isLoading to code accordian

This commit is contained in:
Saoud Rizwan
2024-10-01 22:09:07 -04:00
parent f3fe7c9f5a
commit 905ec5ea50
3 changed files with 19 additions and 20 deletions

View File

@@ -217,6 +217,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
<span style={{ fontWeight: "bold" }}>Claude wants to edit this file:</span>
</div>
<CodeAccordian
isLoading={message.partial}
diff={tool.diff!}
path={tool.path!}
isExpanded={isExpanded}
@@ -232,6 +233,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
<span style={{ fontWeight: "bold" }}>Claude wants to create a new file:</span>
</div>
<CodeAccordian
isLoading={message.partial}
code={tool.content!}
path={tool.path!}
isExpanded={isExpanded}