ソースを参照

removed console.error on dismissModal without componentId

yogevbd 7 年 前
コミット
d68e78feba
共有1 個のファイルを変更した0 個の追加3 個の削除を含む
  1. 0
    3
      lib/src/commands/Commands.ts

+ 0
- 3
lib/src/commands/Commands.ts ファイルの表示

50
   }
50
   }
51
 
51
 
52
   public dismissModal(componentId) {
52
   public dismissModal(componentId) {
53
-    if (!componentId) {
54
-      console.error('dismissModal - componentId is missing');
55
-    }
56
     const result = this.nativeCommandsSender.dismissModal(componentId);
53
     const result = this.nativeCommandsSender.dismissModal(componentId);
57
     this.commandsObserver.notify('dismissModal', { componentId });
54
     this.commandsObserver.notify('dismissModal', { componentId });
58
     return result;
55
     return result;