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,9 +50,6 @@ export class Commands {
50 50
   }
51 51
 
52 52
   public dismissModal(componentId) {
53
-    if (!componentId) {
54
-      console.error('dismissModal - componentId is missing');
55
-    }
56 53
     const result = this.nativeCommandsSender.dismissModal(componentId);
57 54
     this.commandsObserver.notify('dismissModal', { componentId });
58 55
     return result;