Changeset b248810 for jobvista-frontend/src/views/job_advertisements
- Timestamp:
- 06/10/24 22:34:32 (5 months ago)
- Branches:
- main
- Children:
- befb988
- Parents:
- 28b3398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jobvista-frontend/src/views/job_advertisements/JobAdvertisements.js
r28b3398 rb248810 5 5 import {useEffect, useState} from "react"; 6 6 import {JobAdvertisementActions} from "../../redux/actions/jobAdvertisementActions"; 7 import {formatRelativeTime, sortElementsBy DateCreated} from "../../utils/utils";7 import {formatRelativeTime, sortElementsBy} from "../../utils/utils"; 8 8 import {dataRangeOptions, industryOptions, industryOptionsFilter, sortOptions} from "../selectOptions"; 9 9 import Select from "react-select"; … … 37 37 dispatch(JobAdvertisementActions.fetchJobAdvertisementsByRecruiter((success, response) => { 38 38 if (success && response.data.length > 0) { 39 setJobAdvertisementsByRecruiter(sortElementsBy DateCreated(response.data))39 setJobAdvertisementsByRecruiter(sortElementsBy(response.data)) 40 40 } 41 41 console.log("Fetch job advertisements by recruiter GET")
Note:
See TracChangeset
for help on using the changeset viewer.