Refactor camera configuration and overview snapshot hooks; update environment variables and changed camera names to A and B

This commit is contained in:
2025-09-30 11:11:46 +01:00
parent e11d914c5e
commit eb74c2c649
11 changed files with 24 additions and 69 deletions

View File

@@ -24,7 +24,7 @@ const CameraSettingFields = ({
onZoomLevelChange,
}: CameraSettingsProps) => {
const [showPwd, setShowPwd] = useState(false);
console.log(initialData);
const initialValues = useMemo<CameraSettingValues>(
() => ({
friendlyName: initialData?.id ?? "",
@@ -48,6 +48,7 @@ const CameraSettingFields = ({
};
const handleSubmit = (values: CameraSettingValues) => {
console.log(values);
updateCameraConfig(values);
};