Browse Source

removed console.error on dismissModal without componentId

yogevbd 6 years ago
parent
commit
d68e78feba
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      lib/src/commands/Commands.ts

+ 0
- 3
lib/src/commands/Commands.ts View File

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;