Skip to content

Instantly share code, notes, and snippets.

View arist0tl3's full-sized avatar

Sean arist0tl3

  • San Diego, CA
View GitHub Profile
@arist0tl3
arist0tl3 / exp.js
Last active February 21, 2019 23:30 — forked from currenthandle/exp.js
const container = compose(
withStateHandlers({ errors: [] }, {
setErrors: () => errors => ({ errors }),
}),
graphql(LOGIN_MUTATION, {
props: ({ mutate, ownProps }) => ({
login: input =>
mutate({
variables: {
input,