Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrskr committed Dec 4, 2023
1 parent aa3579f commit de8fe10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/src/context/Web3Context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const Web3ContextProvider: React.FC<React.PropsWithChildren<any>> = ({
}

return;
// eslint-disable-next-line
}, []);

// Update the context on graphql data changes
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/admin/pages/OrdersPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const OrdersPage: React.FC = () => {
}[];
}>;
}>();

// eslint-disable-next-line
const [{ signer, address }, setSigner] = React.useState<{
address?: string;
signer?: ethers.Signer;
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/pages/client/pages/HoldingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export const HoldingsPage: React.FC = () => {

const balance = await contract.balanceOf(address);

console.log(balance.toString());

x = {
...x,
[asset]: balance.div(BigNumber.from(10).pow(18)).toString(),
Expand All @@ -48,6 +46,7 @@ export const HoldingsPage: React.FC = () => {
if (signer) {
fetchBalances();
}
// eslint-disable-next-line
}, [signer]);

return (
Expand Down

0 comments on commit de8fe10

Please sign in to comment.