From ceee4a594b9f315d729be08c49c4bd5652d85ba3 Mon Sep 17 00:00:00 2001 From: Fran Jurmanovic Date: Mon, 2 Aug 2021 04:32:57 -0700 Subject: [PATCH] removed console logs --- src/components/app-link/AppLinkElement.ts | 1 - src/components/app-menu/AppMenuElement.ts | 4 ---- src/components/menu-item/MenuItemElement.ts | 1 - 3 files changed, 6 deletions(-) diff --git a/src/components/app-link/AppLinkElement.ts b/src/components/app-link/AppLinkElement.ts index d994a71..391ea54 100644 --- a/src/components/app-link/AppLinkElement.ts +++ b/src/components/app-link/AppLinkElement.ts @@ -53,7 +53,6 @@ class AppLinkElement extends BaseComponentElement { get disabled(): boolean { if (isTrue(this.goBack)) { - console.log(this.routerService) return this.routerService?.emptyState; } return false; diff --git a/src/components/app-menu/AppMenuElement.ts b/src/components/app-menu/AppMenuElement.ts index a884e03..88ba2b4 100644 --- a/src/components/app-menu/AppMenuElement.ts +++ b/src/components/app-menu/AppMenuElement.ts @@ -42,7 +42,6 @@ class AppMenuElement extends BaseComponentElement { setWallets = (wallets: Array, totalWallets: number): void => { this.walletData = wallets; this.totalWallets = totalWallets; - console.log(wallets) this.update(); }; @@ -100,8 +99,6 @@ class AppMenuElement extends BaseComponentElement { render = (): TemplateResult => { const { isAuth, totalWallets, walletData } = this; - console.log(walletData) - const regularMenu = (path: string, title: string, action?: string, className?: string): TemplateResult => { if (action) { return html` @@ -131,7 +128,6 @@ class AppMenuElement extends BaseComponentElement { }; const renderWallets = (wallets: Array) => { if (isAuth && totalWallets > 0) { - console.log(wallets[0].name) return html` ${wallets.map((wallet) => regularMenu(`/wallet/${wallet.id}`, wallet.name, '', '--wallet'))}`; } diff --git a/src/components/menu-item/MenuItemElement.ts b/src/components/menu-item/MenuItemElement.ts index c1b11e8..177f8cc 100644 --- a/src/components/menu-item/MenuItemElement.ts +++ b/src/components/menu-item/MenuItemElement.ts @@ -48,7 +48,6 @@ class MenuItemElement extends BaseComponentElement { }; render = (): TemplateResult => { - console.log(this.title) return html`