Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Prettified Code!

gabek7a3f4f6dbbd7
diff --git a/web/components/config/form-textfield-with-submit.tsx b/web/components/config/form-textfield-with-submit.tsx
index 481242946d..63ed87495b 100644
--- a/web/components/config/form-textfield-with-submit.tsx
+++ b/web/components/config/form-textfield-with-submit.tsx
@@ -74,7 +74,11 @@ export default function TextFieldWithSubmit(props: TextFieldWithSubmitProps) {
if (onChange) {
onChange({
fieldName: changedFieldName,
- value: useTrim ? changedValue.trim() : useTrimLead ? changedValue.replace(/^\s+/g,'') : changedValue,
+ value: useTrim
+ ? changedValue.trim()
+ : useTrimLead
+ ? changedValue.replace(/^\s+/g, '')
+ : changedValue,
});
}
};