feat: add lint:fix command to package.json and update French text for consistency across various components

This commit is contained in:
Julien Froidefond
2025-10-12 16:09:31 +02:00
parent ad5d954182
commit 6db4921d0f
27 changed files with 49 additions and 44 deletions

View File

@@ -58,7 +58,8 @@ export function SkillEvaluation({
} else if (categories.length > 0 && !selectedCategory) {
setSelectedCategory(categories[0].category);
}
}, [categoryParam, categories]); // Remove selectedCategory from deps to avoid loop
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [categoryParam, categories]); // selectedCategory intentionally excluded to avoid infinite loop
const currentCategory = categories.find(
(cat) => cat.category === selectedCategory