ソースを参照

remove unnecessary getters

Yuki Takei 3 年 前
コミット
6df45e1800
1 ファイル変更0 行追加14 行削除
  1. 0 14
      packages/app/src/client/services/AppContainer.js

+ 0 - 14
packages/app/src/client/services/AppContainer.js

@@ -71,20 +71,6 @@ export default class AppContainer extends Container {
     window.crowiPlugin = window.growiPlugin;
   }
 
-  get currentUserId() {
-    if (this.currentUser == null) {
-      return null;
-    }
-    return this.currentUser._id;
-  }
-
-  get currentUsername() {
-    if (this.currentUser == null) {
-      return null;
-    }
-    return this.currentUser.username;
-  }
-
   getConfig() {
     return this.config;
   }