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

@ -10,6 +10,8 @@ import { comet } from 'src/styling/variables'
import { cpcStyles } from './Transactions.styles'
const useStyles = makeStyles(cpcStyles)
const CopyToClipboard = ({ className, children, ...props }) => {
const [anchorEl, setAnchorEl] = useState(null)
@ -17,8 +19,6 @@ const CopyToClipboard = ({ className, children, ...props }) => {
if (anchorEl) setTimeout(() => setAnchorEl(null), 3000)
}, [anchorEl])
const useStyles = makeStyles(cpcStyles)
const classes = useStyles()
const handleClick = event => {