remove debug console logs from Edit component in internationalisation block uncessary console.log

This commit is contained in:
Antoine M 2025-03-19 10:32:52 +01:00
parent 53797314b2
commit 1cbb07eb00

View File

@ -35,8 +35,7 @@ export default function Edit({ attributes, setAttributes }) {
useEffect(() => {
const localBlockName =
currentLang === "fr" ? "Vocabulaire" : "Vocabulairen";
console.log("le titre local à afficher " + localBlockName);
console.log("current" + currentLang);
setAttributes({ blockName: localBlockName });
}, [currentLang]);