remove debug console logs from Edit component in internationalisation block uncessary console.log
This commit is contained in:
parent
53797314b2
commit
1cbb07eb00
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user