import React, {useEffect, useState } from 'react'; import { Heading, Text, VStack, Box, Button, Input, Spacer, Flex } from '@chakra-ui/react' interface MMAccountProps { balance: string | undefined, chainId: number | undefined erc20ContractAddress: string deployedAddressHandler: any } export default function MMAccount(props:MMAccountProps){ return ( Account Details of the account connected to Metamask Balance of current account (ETH): {props.balance} ChainId: {props.chainId} {/* todo: fix formatting here */} Address that the QuorumToken was deployed to: ) }