diff --git a/src/app/withStarknetReactLatest/page.tsx b/src/app/withStarknetReactLatest/page.tsx index a74eebc..4079564 100644 --- a/src/app/withStarknetReactLatest/page.tsx +++ b/src/app/withStarknetReactLatest/page.tsx @@ -9,6 +9,7 @@ import { Section } from "@/components/Section" import { ConnectStarknetReact } from "@/components/connect/ConnectStarknetReact" import { CHAIN_ID } from "@/constants" import { availableConnectors } from "@/helpers/connectorsLatest" +import { useWaitForTx } from "@/hooks/useWaitForTx" import { Flex } from "@chakra-ui/react" import { mainnet, sepolia } from "@starknet-react/chains" import { @@ -28,6 +29,8 @@ const StarknetReactDappContent = () => { undefined, ) + useWaitForTx() + useEffect(() => { const getChainId = async () => { setChainId(await account?.getChainId()) diff --git a/src/app/withStarknetReactNext/page.tsx b/src/app/withStarknetReactNext/page.tsx index f4eb1ae..ba9b259 100644 --- a/src/app/withStarknetReactNext/page.tsx +++ b/src/app/withStarknetReactNext/page.tsx @@ -1,3 +1,4 @@ export default function StarknetReactNext() { + //useWaitForTx() return <>TODO: wait for starknet-react v3 }