Skip to content

Commit

Permalink
Fix the incorrect use of a div tag as a child of a p tag (#6701)
Browse files Browse the repository at this point in the history
Remove p

Co-authored-by: Federico Rodriguez <[email protected]>
  • Loading branch information
JuanGarriuz and asteriscos committed May 28, 2024
1 parent cc93456 commit 5ddde24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const PromptSelectAgent = ({ body, title }: PromptSelectAgentProps) => {
<EuiEmptyPrompt
iconType='watchesApp'
title={<h2>{title}</h2>}
body={body && <p>{body}</p>}
body={body && <>{body}</>}
actions={
<EuiButton color='primary' fill onClick={openAgentSelector}>
Select agent
Expand Down

0 comments on commit 5ddde24

Please sign in to comment.