Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Nov 10, 2023
1 parent 69de295 commit 7ba8f24
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/potlock/widget/Cart/BreakdownSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ const handleDonate = () => {
Near.call(transactions);
};

console.log("props in breakdown: ", props);

return (
<Container>
<Title>Breakdown summary</Title>
Expand Down
2 changes: 2 additions & 0 deletions apps/potlock/widget/Index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ State.init({
registeredProjects: null,
});

console.log("state in Index: ", state);

if (!state.registeredProjects) {
State.update({ registeredProjects: Near.view(registryContractId, "get_projects", {}) });
}
Expand Down
2 changes: 2 additions & 0 deletions build/potlock/src/Cart/BreakdownSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ const handleDonate = () => {
Near.call(transactions);
};

console.log("props in breakdown: ", props);

return (
<Container>
<Title>Breakdown summary</Title>
Expand Down
2 changes: 2 additions & 0 deletions build/potlock/src/Index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ State.init({
registeredProjects: null,
});

console.log("state in Index: ", state);

if (!state.registeredProjects) {
State.update({ registeredProjects: Near.view(registryContractId, "get_projects", {}) });
}
Expand Down

0 comments on commit 7ba8f24

Please sign in to comment.