Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "celo-react-boilerplate",
"name": "celo-react-nftLoanCelo",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const App = function AppWrapper() {
let loanId = await getloanid(_loanContract);
let loansUh = await getloans(_loanContract, loanId);
setLoans(loansUh);
console.log(loansUh);

}

useEffect(() => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Details.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Details = (props) => {

const lendMoney = async (key, loanAmount) => {
try {
console.log(key);

setLoading(true)
await lendmoney(loanContract, performActions, key, loanAmount);
await props.getLoans();
Expand All @@ -53,7 +53,7 @@ const Details = (props) => {

const closeBorrowRequest = async (key) => {
try {
console.log(key)

setLoading(true)
await closeborrowrequest(loanContract, performActions, key);
await props.getLoans();
Expand Down