removed console.logs
This commit is contained in:
@@ -48,7 +48,6 @@ const CameraSettingFields = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleSubmit = (values: CameraSettingValues) => {
|
const handleSubmit = (values: CameraSettingValues) => {
|
||||||
console.log(values);
|
|
||||||
updateCameraConfig(values);
|
updateCameraConfig(values);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ const OverviewVideoContainer = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
console.log(location);
|
|
||||||
const handlers = useSwipeable({
|
const handlers = useSwipeable({
|
||||||
onSwipedLeft: () => {
|
onSwipedLeft: () => {
|
||||||
if (location.pathname === "/rear-camera-settings") return;
|
if (location.pathname === "/rear-camera-settings") return;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ const CardHeader = ({
|
|||||||
img,
|
img,
|
||||||
sighting,
|
sighting,
|
||||||
}: CameraOverviewHeaderProps) => {
|
}: CameraOverviewHeaderProps) => {
|
||||||
// console.log(sighting?.debug.toLowerCase());
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import { toast } from "sonner";
|
|||||||
import { CAM_BASE } from "../utils/config";
|
import { CAM_BASE } from "../utils/config";
|
||||||
|
|
||||||
const base_url = `${CAM_BASE}/api`;
|
const base_url = `${CAM_BASE}/api`;
|
||||||
console.log(base_url);
|
|
||||||
|
|
||||||
const fetchCameraSideConfig = async ({ queryKey }: { queryKey: string[] }) => {
|
const fetchCameraSideConfig = async ({ queryKey }: { queryKey: string[] }) => {
|
||||||
const [, cameraSide] = queryKey;
|
const [, cameraSide] = queryKey;
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ async function signIn(loginDetails: NPEDFieldType) {
|
|||||||
if (!frontCameraResponse.ok) throw new Error("cannot reach NPED endpoint");
|
if (!frontCameraResponse.ok) throw new Error("cannot reach NPED endpoint");
|
||||||
if (!rearCameraResponse.ok) throw new Error("cannot reach NPED endpoint");
|
if (!rearCameraResponse.ok) throw new Error("cannot reach NPED endpoint");
|
||||||
|
|
||||||
const data = await frontCameraResponse.json();
|
|
||||||
console.log(data);
|
|
||||||
return {
|
return {
|
||||||
frontResponse: frontCameraResponse.json(),
|
frontResponse: frontCameraResponse.json(),
|
||||||
rearResponse: rearCameraResponse.json(),
|
rearResponse: rearCameraResponse.json(),
|
||||||
|
|||||||
Reference in New Issue
Block a user