update fetch url to match new api prefix

This commit is contained in:
2026-06-15 13:07:08 +02:00
parent 6640136fd9
commit e92c4227d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ function Projects() {
}
if (filters.technology.length > 0) {
const isSkill = filters.technology.every(tech => project.skills.includes(tech));
const isSkill = filters.technology.every(tech => project.skills.some(skill => skill.name === tech));
if(!isSkill){
return false
}
@@ -73,7 +73,7 @@ function Filter({ filters, setFilters }) {
throw new Error(`Erreur HTTP: ${response.status}`);
}
const data = await response.json();
setSkills(data.data);
setSkills(data);
} catch (err) {
setError(err.message);
}