feat: add services page

fix: change styles, fix hook trigger, add ux

feat: setup custom error messages

refactor: conform to new style guide

refactor: migrate to graphql

refactor: migrate to Ramda

fix: update state on mutation

refactor: migrate error ux to graphql

fix: change structure of accounts config

fix: use absolute imports

fix: move makeStyles out of components

fix: correct Strike behaviour
This commit is contained in:
Luis Félix 2020-01-10 14:26:51 +00:00 committed by Josh Harvey
parent 1dba321052
commit b9d2341cd1
30 changed files with 2579 additions and 306 deletions

View file

@ -19,6 +19,8 @@ import { toUnit } from 'src/utils/coin'
import DetailsRow from './DetailsCard'
import { mainStyles } from './Transactions.styles'
const useStyles = makeStyles(mainStyles)
// TODO customerIdCardData
const GET_TRANSACTIONS = gql`
{
@ -49,8 +51,6 @@ const GET_TRANSACTIONS = gql`
const Transactions = () => {
const [anchorEl, setAnchorEl] = useState(null)
const useStyles = makeStyles(mainStyles)
const classes = useStyles()
const { data: txResponse } = useQuery(GET_TRANSACTIONS)