diff --git a/frontend/src/services/hiring.ts b/frontend/src/services/hiring.ts index f53638b..917af96 100644 --- a/frontend/src/services/hiring.ts +++ b/frontend/src/services/hiring.ts @@ -2,12 +2,6 @@ import { JobOpening } from '../types/hiring'; import { getJobOpenings } from './api'; export const fetchJobOpenings = async (): Promise => { - try { - // Use the API service to fetch job openings from the backend - return await getJobOpenings(); - } catch (error) { - console.error('Error fetching job openings:', error); - // Return empty array in case of error - return []; - } -}; \ No newline at end of file + // Use the API service to fetch job openings from the backend + return await getJobOpenings(); +};