Skip to content

Commit

Permalink
Third5 Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratnesh4193 committed Oct 29, 2023
1 parent 2681739 commit 131ab87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/Screens/ProjectScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const defaultProject = {
};
const projectHeader = {
manager: "Address of Manager",
balance: "Balance",
balance: "Balance(in Wei)",
category: "Category",
targetAmount: "Target Amount(in Wei)",
minimumContribution: "Minimum Contribution(in Wei)",
Expand Down Expand Up @@ -130,18 +130,18 @@ const ProjectScreen = () => {

setCurrentProject({
manager,
balance: balance + " Wei",
balance: fromBigIntToNumber(balance),
title,
description,
category,
targetAmount,
minimumContribution,
backersCount,
targetAmount: fromBigIntToNumber(targetAmount),
minimumContribution: fromBigIntToNumber(minimumContribution),
backersCount: fromBigIntToNumber(backersCount),
targetDate,
imageLink,
fundingReceived,
pendingRequests,
totalRequests,
fundingReceived: fromBigIntToNumber(fundingReceived),
pendingRequests: fromBigIntToNumber(pendingRequests),
totalRequests: fromBigIntToNumber(totalRequests),
});

setIsLoading(0);
Expand Down
2 changes: 1 addition & 1 deletion src/Screens/RequestScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const RequestScreen = () => {
newRequests.push({
id: i + 1,
description: currentRequest["description"],
amount: currentRequest["amount"],
amount: fromBigIntToNumber(currentRequest["amount"]),
recipient: currentRequest["recipient"],
approvalCount: currentRequest["approvalCount"],
backersCount: backersCount,
Expand Down

0 comments on commit 131ab87

Please sign in to comment.