feat: add lint:fix command to package.json and update French text for consistency across various components
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user