Skip to content

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

code cleanup

dorj222d94a5a7dfd1c
diff --git a/web/components/admin/TextField.tsx b/web/components/admin/TextField.tsx
index cd84aed690..4536fea198 100644
--- a/web/components/admin/TextField.tsx
+++ b/web/components/admin/TextField.tsx
@@ -61,7 +61,6 @@ export const TextField: FC<TextFieldProps> = ({
// if an extra onChange handler was sent in as a prop, let's run that too.
if (onChange) {
const val = type === TEXTFIELD_TYPE_NUMBER ? e : e.target.value;
- // console.log('val: ', val, 'fieldname: ', fieldName);
if (fieldName === 'adminPassword' && regex.test(val)) {
setHasChanged(true);
@@ -74,7 +73,6 @@ export const TextField: FC<TextFieldProps> = ({
};
useEffect(() => {
- // console.log('value: ', value);
form.setFieldsValue({ adminPassword: value });
}, [value]);
diff --git a/web/components/admin/config/server/StreamKeys.tsx b/web/components/admin/config/server/StreamKeys.tsx
index 3d16a2f85f..50e662a0fc 100644
--- a/web/components/admin/config/server/StreamKeys.tsx
+++ b/web/components/admin/config/server/StreamKeys.tsx
@@ -102,7 +102,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setE
},
]}
>
- <Input placeholder="def456" onChange={handleInputChange} />
+ <Input onChange={handleInputChange} />
</Item>
<Item
style={{ width: '60%', marginRight: '5px' }}