Skip to content

Commit

Permalink
get projects
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Oct 25, 2023
1 parent 1deb592 commit 5401ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/potlock/widget/Project/ListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ State.init({
getRegisteredProjectsError: "",
});

if (context.accountId && !state.registeredProjects) {
if (!state.registeredProjects) {
Near.asyncView(registryId, "get_projects", {})
.then((projects) => {
// get social data for each project
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 (context.accountId && !state.registeredProjects) {
if (!state.registeredProjects) {
Near.asyncView(registryId, "get_projects", {})
.then((projects) => {
// get social data for each project
Expand Down

0 comments on commit 5401ba1

Please sign in to comment.