Skip to content

Commit

Permalink
Merge pull request #2151 from graphcommerce-org/feature/GCOM-1066
Browse files Browse the repository at this point in the history
[GCOM-1066]: Added telephone to address overview
  • Loading branch information
paales authored Jan 15, 2024
2 parents f9e59d6 + 367fd03 commit f716913
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { extendableComponent } from '@graphcommerce/next-ui'
import { Trans } from '@lingui/react'
import { Box, Link, SxProps, Theme } from '@mui/material'
import { Box, Link, SxProps, Theme, Typography } from '@mui/material'
import { AddressMultiLine } from '../AddressMultiLine/AddressMultiLine'
import { DeleteCustomerAddressForm } from '../DeleteCustomerAddressForm/DeleteCustomerAddressForm'
import { UpdateDefaultAddressForm } from '../UpdateDefaultAddressForm/UpdateDefaultAddressForm'
Expand Down Expand Up @@ -31,7 +31,7 @@ export function AccountAddress(props: AccountAddressProps) {
>
<Box className={classes.address} sx={{ '& > span': { display: 'block' } }}>
<AddressMultiLine id={id} {...addressProps} />

<Typography variant='body1' component='div'>{addressProps.telephone}</Typography>
<Box className={classes.switches} sx={(theme) => ({ paddingTop: theme.spacings.xxs })}>
<UpdateDefaultAddressForm id={id} {...addressProps} />
</Box>
Expand Down

1 comment on commit f716913

@vercel
Copy link

@vercel vercel bot commented on f716913 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

graphcommerce-hygraph-dynamic-rows-ui – ./packages/hygraph-dynamic-rows-ui

graphcommerce-hygraph-dynamic-rows-ui.vercel.app
graphcommerce-hygraph-dynamic-rows-ui-graphcommerce.vercel.app
graphcommerce-hygraph-dynamic-rows-ui-git-canary-graphcommerce.vercel.app

Please sign in to comment.