diff --git a/frontend/src/App.js b/frontend/src/App.js index 25bbbf8..2d8fd5e 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -7,23 +7,6 @@ import CompanyJobs from "./components/CompanyJobs"; function App() { - //const [companies, setCompanies]=useState([]); - //const [jobs, setJobs]=useState([]); - - /*useEffect(() => { - // Fetch companies - fetch("/api/companies") - .then((response) => response.json()) - .then((data) => setCompanies(data)) - .catch((error) => console.error("Error fetching companies:", error)); - - // Fetch jobs - fetch("/api/jobs") - .then((response) => response.json()) - .then((data) => setJobs(data)) - .catch((error) => console.error("Error fetching jobs:", error)); - }, []);*/ - return (