refactor: Simplify ContentDisplay component (#5027)

Simplify the ContentDisplay component by removing unnecessary conditional rendering and updating the input label to be more concise.
This commit is contained in:
anovazzi1 2024-12-03 20:22:00 -03:00 committed by GitHub
commit 77922c2bfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,7 +203,7 @@ export default function ContentDisplay({
rehypePlugins={[rehypeMathjax]}
className="markdown prose max-w-full text-[14px] font-normal dark:prose-invert"
>
{`${content.name ? `**Tool:** ${content.name}\n\n` : ""}**Input:**`}
**Input:**
</Markdown>
<SimplifiedCodeTabComponent
language="json"