fix: remove console log && closes #352

This commit is contained in:
王彦民 2018-12-03 17:39:48 +08:00 committed by zhichen
parent 40d333d529
commit 3d59322721

View File

@ -34,8 +34,7 @@ class Header extends React.Component {
changeLanguage(currentLanguage); changeLanguage(currentLanguage);
aliwareIntl.changeLanguage(currentLanguage); aliwareIntl.changeLanguage(currentLanguage);
document.cookie = `docsite_language=${currentLanguage}`; document.cookie = `docsite_language=${currentLanguage}`;
console.log(currentLanguage); window.location.reload();
// window.location.reload();
}; };
render() { render() {