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:
parent
a2bd59e45e
commit
77922c2bfd
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ export default function ContentDisplay({
|
||||||
rehypePlugins={[rehypeMathjax]}
|
rehypePlugins={[rehypeMathjax]}
|
||||||
className="markdown prose max-w-full text-[14px] font-normal dark:prose-invert"
|
className="markdown prose max-w-full text-[14px] font-normal dark:prose-invert"
|
||||||
>
|
>
|
||||||
{`${content.name ? `**Tool:** ${content.name}\n\n` : ""}**Input:**`}
|
**Input:**
|
||||||
</Markdown>
|
</Markdown>
|
||||||
<SimplifiedCodeTabComponent
|
<SimplifiedCodeTabComponent
|
||||||
language="json"
|
language="json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue