Skip to content

Commit c9983db

Browse files
committed
Refactor JSX button elements to use self-closing syntax
1 parent 8a51b73 commit c9983db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ui/src/components/editor/ChatInput/ChatInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export const ChatInput: React.FC<Props> = (props) => {
311311
title={`${props.translations.search} (${
312312
navigator.userAgent.toUpperCase().indexOf('MAC') >= 0 ? '⌘' : 'Ctrl'
313313
}+F)`}
314-
></button>
314+
/>
315315

316316
{props.on_copy && (
317317
<button
@@ -335,7 +335,7 @@ export const ChatInput: React.FC<Props> = (props) => {
335335
}+C)`
336336
}
337337
disabled={!props.is_in_code_completions_mode && !props.value}
338-
></button>
338+
/>
339339
)}
340340

341341
<div className={styles.footer}>

0 commit comments

Comments
 (0)