+ {/*
+
Debug: Camera={cameraOn ? 'ON' : 'OFF'}, Stream={stream ? 'Active' : 'None'}, Image={image ? 'Yes' : 'No'}
+
*/}
+ {!cameraOn && !image && (
+
+
+ Starting camera...
+
+
+ )}
-const initialState = {
- AddCustomerDetails: [],
- refreshTrigger: 0,
+ {cameraOn && (
+
+
Camera is ON - Video should appear below:
+
+ )}
+
+ {image && (
+ <>
+
+
+
+
+

+ >
+ )}
+
+
+
+