From 1deb592cbc31a9879ae2149dd78880c60d86a626 Mon Sep 17 00:00:00 2001 From: Lachlan Glen <54282009+lachlanglen@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:05:43 -0400 Subject: [PATCH] remove debug log --- apps/potlock/widget/Project/ListSection.jsx | 2 -- build/potlock/src/Project/ListPage.jsx | 2 +- build/potlock/src/Project/ListSection.jsx | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/potlock/widget/Project/ListSection.jsx b/apps/potlock/widget/Project/ListSection.jsx index ce092fa6..f15b8112 100644 --- a/apps/potlock/widget/Project/ListSection.jsx +++ b/apps/potlock/widget/Project/ListSection.jsx @@ -39,8 +39,6 @@ const List = styled.div` } `; -console.log("props.projects: ", props.projects); - return ( {props.projects.map((project) => renderItem(project))} diff --git a/build/potlock/src/Project/ListPage.jsx b/build/potlock/src/Project/ListPage.jsx index c5dabc65..682f34e7 100644 --- a/build/potlock/src/Project/ListPage.jsx +++ b/build/potlock/src/Project/ListPage.jsx @@ -86,7 +86,7 @@ State.init({ getRegisteredProjectsError: "", }); -if (!state.registeredProjects) { +if (context.accountId && !state.registeredProjects) { Near.asyncView(registryId, "get_projects", {}) .then((projects) => { // get social data for each project diff --git a/build/potlock/src/Project/ListSection.jsx b/build/potlock/src/Project/ListSection.jsx index ce092fa6..f15b8112 100644 --- a/build/potlock/src/Project/ListSection.jsx +++ b/build/potlock/src/Project/ListSection.jsx @@ -39,8 +39,6 @@ const List = styled.div` } `; -console.log("props.projects: ", props.projects); - return ( {props.projects.map((project) => renderItem(project))}