Ver código fonte

removed console.error on dismissModal without componentId

yogevbd 6 anos atrás
pai
commit
d68e78feba
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0
    3
      lib/src/commands/Commands.ts

+ 0
- 3
lib/src/commands/Commands.ts Ver arquivo

@@ -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;