Use copy button insde JSON view component
This commit is contained in:
parent
c9ee22b781
commit
c964ff5cfe
1 changed files with 100 additions and 108 deletions
|
|
@ -152,9 +152,7 @@ const PromptsTab = ({
|
|||
Get Prompt
|
||||
</Button>
|
||||
{promptContent && (
|
||||
<div className="p-4 border rounded">
|
||||
<JsonView data={promptContent} />
|
||||
</div>
|
||||
<JsonView data={promptContent} withCopyButton={false} />
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Reference in a new issue