- implement setup page with video feed and preview functionality
This commit is contained in:
@@ -8,12 +8,12 @@ type VideoFeedProps = {
|
||||
mostRecentSighting: SightingType;
|
||||
isLoading: boolean;
|
||||
size: { width: number; height: number };
|
||||
|
||||
modeSetting?: number;
|
||||
isModal?: boolean;
|
||||
};
|
||||
|
||||
const VideoFeed = ({ mostRecentSighting, isLoading, size, modeSetting, isModal = false }: VideoFeedProps) => {
|
||||
console.log(size);
|
||||
const { state: cameraSettings, dispatch } = useCameraSettingsContext();
|
||||
const contextMode = cameraSettings.mode;
|
||||
const [localMode, setLocalMode] = useState(0);
|
||||
|
||||
Reference in New Issue
Block a user