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