From cdc5b9742df0582738033394583d95ed939c537b Mon Sep 17 00:00:00 2001 From: gianmalarcon Date: Sun, 11 Aug 2024 16:24:17 +0700 Subject: [PATCH] fmt --- .../stake/StakeContractInteraction.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/nextjs/components/stake/StakeContractInteraction.tsx b/packages/nextjs/components/stake/StakeContractInteraction.tsx index 5345a975..6656ee12 100644 --- a/packages/nextjs/components/stake/StakeContractInteraction.tsx +++ b/packages/nextjs/components/stake/StakeContractInteraction.tsx @@ -1,6 +1,6 @@ "use client"; -import { useAccount, useBalance } from "@starknet-react/core"; +import { useAccount } from "@starknet-react/core"; import { useDeployedContractInfo } from "~~/hooks/scaffold-stark"; import { useTargetNetwork } from "~~/hooks/scaffold-stark/useTargetNetwork"; import { useScaffoldReadContract } from "~~/hooks/scaffold-stark/useScaffoldReadContract"; @@ -20,15 +20,12 @@ export const StakeContractInteraction = ({ address }: { address?: string }) => { const { address: connectedAddress } = useAccount(); const { data: StakerContract } = useDeployedContractInfo("Staker"); - console.log("StakerContract", StakerContract); const { data: ExampleExternalContact } = useDeployedContractInfo( "ExampleExternalContract", ); - const { value: stakerContractBalance} = - useScaffoldEthBalance({ - address: StakerContract?.address, - }); - console.log("stakerContractBalance", stakerContractBalance); + const { value: stakerContractBalance } = useScaffoldEthBalance({ + address: StakerContract?.address, + }); const { value: exampleExternalContractBalance, //refetch: refetchExampleExternalContract, @@ -111,8 +108,9 @@ export const StakeContractInteraction = ({ address }: { address?: string }) => {