From cb622494fb85f489bb0ca2a5e6002cb0522b3dcc Mon Sep 17 00:00:00 2001 From: kennylbj <632786081@qq.com> Date: Fri, 5 Oct 2018 21:45:07 +0800 Subject: [PATCH] fix selectedKeys error of SelectLang (#2474) --- src/components/SelectLang/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectLang/index.js b/src/components/SelectLang/index.js index 5c3bdd24..6273953c 100644 --- a/src/components/SelectLang/index.js +++ b/src/components/SelectLang/index.js @@ -11,7 +11,7 @@ export default class SelectLang extends PureComponent { render() { const { className } = this.props; - const selectedLang = getLocale; + const selectedLang = getLocale(); const langMenu = ( -- GitLab