feat: add icons and make customer data cards editable
This commit is contained in:
parent
0981a7d4af
commit
a8f1c50d07
2 changed files with 2 additions and 11 deletions
|
|
@ -32,8 +32,8 @@ const styles = {
|
|||
const useStyles = makeStyles(styles)
|
||||
|
||||
const FeatureButton = memo(
|
||||
({ className, Icon, InverseIcon, children, ...props }) => {
|
||||
const classes = useStyles()
|
||||
({ className, Icon, InverseIcon, children, active, ...props }) => {
|
||||
const classes = useStyles({ active })
|
||||
|
||||
const classNames = {
|
||||
[classes.featureButton]: true,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import { useQuery, useMutation } from '@apollo/react-hooks'
|
||||
import { makeStyles, Breadcrumbs, Box } from '@material-ui/core'
|
||||
import NavigateNextIcon from '@material-ui/icons/NavigateNext'
|
||||
// import classnames from 'classnames'
|
||||
import gql from 'graphql-tag'
|
||||
import * as R from 'ramda'
|
||||
import React, { memo, useState } from 'react'
|
||||
|
|
@ -266,14 +265,6 @@ const CustomerProfile = memo(() => {
|
|||
{`Retrieve information`}
|
||||
</ActionButton>
|
||||
</div>
|
||||
<div>
|
||||
<ActionButton
|
||||
className={classes.customerDiscount}
|
||||
color="primary"
|
||||
onClick={() => {}}>
|
||||
{`Add individual discount`}
|
||||
</ActionButton>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue