Skip to content

Commit 9aa4caa

Browse files
committed
Simplify port info translation by removing unnecessary component mapping and fragment wrapping
- when we toggle fieldset, the modal gets larger, but never smaller
1 parent d61b913 commit 9aa4caa

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎apps/editor/src/views/shared/forms/EditWebConfigurationForm/EditWebConfigurationForm.tsx‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,7 @@ export const EditWebConfigurationForm: React.FC<Props> = (props) => {
348348
html_for="port"
349349
info={
350350
chatbot == 'Open WebUI' && (
351-
<>
352-
<Translation
353-
id="edit-web-configuration-form.port.info"
354-
components={{
355-
code: <code />
356-
}}
357-
/>
358-
</>
351+
<Translation id="edit-web-configuration-form.port.info" />
359352
)
360353
}
361354
>

0 commit comments

Comments
 (0)