Minor style update

This commit is contained in:
Yukai Huang 2017-01-14 15:47:13 +08:00
parent 98c0cfc6a7
commit 04292240d6
2 changed files with 3 additions and 4 deletions

View file

@ -32,7 +32,7 @@ export function setLoginState(bool, id) {
export function checkLoginStateChanged() {
if (getLoginState() != lastLoginState || getUserId() != lastUserId) {
if(loginStateChangeEvent) {
if (loginStateChangeEvent) {
loginStateChangeEvent();
}
return true;