Skip to content

Commit 5ddde24

Browse files
Fix the incorrect use of a div tag as a child of a p tag (#6701)
Remove p Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
1 parent cc93456 commit 5ddde24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/main/public/components/agents/prompts/prompt-select-agent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const PromptSelectAgent = ({ body, title }: PromptSelectAgentProps) => {
2727
<EuiEmptyPrompt
2828
iconType='watchesApp'
2929
title={<h2>{title}</h2>}
30-
body={body && <p>{body}</p>}
30+
body={body && <>{body}</>}
3131
actions={
3232
<EuiButton color='primary' fill onClick={openAgentSelector}>
3333
Select agent

0 commit comments

Comments
 (0)