feat: add custom fields fetching on gql client

This commit is contained in:
Sérgio Salgado 2021-09-06 16:45:39 +01:00
parent fec57bf173
commit 0fe2862d61

View file

@ -64,6 +64,11 @@ const GET_CUSTOMER = gql`
lastTxClass
daysSuspended
isSuspended
customFields {
id
label
value
}
transactions {
txClass
id
@ -159,6 +164,8 @@ const CustomerProfile = memo(() => {
const classes = useStyles({ blocked })
console.log('customer', customerData)
return (
<>
<Breadcrumbs