Skip to content

Commit

Permalink
feat(webapp): expand contracts tables by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Dec 13, 2022
1 parent 9985f73 commit 9a736c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/AccountInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import styles from './styles'

const useStyles = makeStyles(styles)

const AccordionWrapper = ({ children, title }) => {
const AccordionWrapper = ({ children, title, ...props }) => {
const classes = useStyles()

return (
<Accordion classes={{ root: classes.accordion }}>
<Accordion classes={{ root: classes.accordion }} {...props}>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
classes={{
Expand Down Expand Up @@ -185,7 +185,7 @@ const AccountInfo = ({
onSubmitAction={onSubmitAction}
/>
</AccordionWrapper>
<AccordionWrapper title={t('contractTables')}>
<AccordionWrapper title={t('contractTables')} defaultExpanded>
<ContractTables
accountName={account.account_name}
abi={abi}
Expand Down

0 comments on commit 9a736c5

Please sign in to comment.