Skip to content

Commit

Permalink
removed unused imports and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
imrany committed Oct 15, 2024
1 parent 4f7f5b6 commit f5d4212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "./App.css";
import { useEffect, useState } from "react";
import { BrowserRouter, Routes, Route, Navigate } from "react-router-dom";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import MainPage from "./pages/MainPage.tsx";
import SearchPage from "./pages/SearchPage.tsx";
import { GlobalContext } from "./context";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { GlobalContext } from "../context";
export default function MainPage() {
const { videoConstraints }=useContext(GlobalContext);
const [isLoading, setIsLoading]=useState(true)
const webcamRef:anyy = useRef(null);
const webcamRef:any = useRef(null);
const canvasRef:any = useRef(null);

tf.setBackend("webgl");
Expand Down

0 comments on commit f5d4212

Please sign in to comment.