diff --git a/frontend/src/context/Web3Context.tsx b/frontend/src/context/Web3Context.tsx index 06dae7e..705bdc4 100644 --- a/frontend/src/context/Web3Context.tsx +++ b/frontend/src/context/Web3Context.tsx @@ -117,6 +117,7 @@ export const Web3ContextProvider: React.FC> = ({ } return; + // eslint-disable-next-line }, []); // Update the context on graphql data changes diff --git a/frontend/src/pages/admin/pages/OrdersPage.tsx b/frontend/src/pages/admin/pages/OrdersPage.tsx index 2d3d0e1..a159ec0 100644 --- a/frontend/src/pages/admin/pages/OrdersPage.tsx +++ b/frontend/src/pages/admin/pages/OrdersPage.tsx @@ -30,7 +30,7 @@ export const OrdersPage: React.FC = () => { }[]; }>; }>(); - + // eslint-disable-next-line const [{ signer, address }, setSigner] = React.useState<{ address?: string; signer?: ethers.Signer; diff --git a/frontend/src/pages/client/pages/HoldingsPage.tsx b/frontend/src/pages/client/pages/HoldingsPage.tsx index c545e6e..8dd4856 100644 --- a/frontend/src/pages/client/pages/HoldingsPage.tsx +++ b/frontend/src/pages/client/pages/HoldingsPage.tsx @@ -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(), @@ -48,6 +46,7 @@ export const HoldingsPage: React.FC = () => { if (signer) { fetchBalances(); } + // eslint-disable-next-line }, [signer]); return (