Closed WishingWell13 closed 1 year ago
Needed to filter repeats by year, not entire object
instead of resumes ?.filter((value: UserResume, index: number) => resumes.indexOf(value) === index)
do
.filter( (value: UserResume, index: number) => resumes.map((resume) => resume.user.graduationYear).indexOf(value.user.graduationYear) === index,
Trying to get netlify preview