Skip to content

Commit

Permalink
remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Oct 25, 2023
1 parent b49e0de commit 1deb592
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions apps/potlock/widget/Project/ListSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ const List = styled.div`
}
`;

console.log("props.projects: ", props.projects);

return (
<Container>
<List>{props.projects.map((project) => renderItem(project))}</List>
Expand Down
2 changes: 1 addition & 1 deletion build/potlock/src/Project/ListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions build/potlock/src/Project/ListSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ const List = styled.div`
}
`;

console.log("props.projects: ", props.projects);

return (
<Container>
<List>{props.projects.map((project) => renderItem(project))}</List>
Expand Down

0 comments on commit 1deb592

Please sign in to comment.