From 3b5686c395d3cbb2042d607b37501bc379c39d47 Mon Sep 17 00:00:00 2001 From: Andrew Miracle Date: Wed, 16 Jun 2021 06:46:46 +0000 Subject: [PATCH] comment out console logs --- src/pages/nfts/index.tsx | 2 +- src/pages/profile/index.tsx | 2 +- src/pages/tokens/index.tsx | 2 +- src/pages/transactions/index.tsx | 2 +- src/utils/user.ts | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/nfts/index.tsx b/src/pages/nfts/index.tsx index fc245df..6004dd3 100644 --- a/src/pages/nfts/index.tsx +++ b/src/pages/nfts/index.tsx @@ -86,7 +86,7 @@ export default function Page(props: TPageProps): JSX.Element { }) }, []) - console.log(assets, 'profile assets') + // console.log(assets, 'profile assets') if (loading) { return diff --git a/src/pages/profile/index.tsx b/src/pages/profile/index.tsx index 9a86e29..ac5a043 100644 --- a/src/pages/profile/index.tsx +++ b/src/pages/profile/index.tsx @@ -47,7 +47,7 @@ export default function Page(props: TPageProps): JSX.Element { 'main address': user.ethAddress, } setProfile(profile) - console.log(user) + // console.log(user) }, [props.user]) const handleLogout = async () => { diff --git a/src/pages/tokens/index.tsx b/src/pages/tokens/index.tsx index 755f1ba..a3dea20 100644 --- a/src/pages/tokens/index.tsx +++ b/src/pages/tokens/index.tsx @@ -70,7 +70,7 @@ export default function Page(props: TPageProps): JSX.Element { }) }, []) - console.log(assets, 'profile assets') + // console.log(assets, 'profile assets') if (loading) { return diff --git a/src/pages/transactions/index.tsx b/src/pages/transactions/index.tsx index 21adbba..f64e160 100644 --- a/src/pages/transactions/index.tsx +++ b/src/pages/transactions/index.tsx @@ -89,7 +89,7 @@ export default function Page(props: TPageProps): JSX.Element { }) }, []) - console.log(assets, 'profile assets') + // console.log(assets, 'profile assets') if (loading) { return diff --git a/src/utils/user.ts b/src/utils/user.ts index 8f708b0..a23180d 100644 --- a/src/utils/user.ts +++ b/src/utils/user.ts @@ -57,7 +57,7 @@ export const getProfile = async (ctx: NextPageContext) => { // console.log(userProfile, "The user cookie") return userProfile as UserAccountDict } catch (error) { - console.log(error) + // console.log(error) return null } } @@ -72,7 +72,7 @@ export const isAuthenticated = async (ctx: NextPageContext) => { /* Return truthy */ return true } catch (error) { - console.log(error) + // console.log(error) return false } }