Created
January 21, 2019 15:20
-
-
Save laptopmutia/5f131ccc59646cb948960f11f48ce860 to your computer and use it in GitHub Desktop.
how to refactor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Mutation mutation={SIGN_IN_MUTATION}> | |
{(signIn) => ( | |
<Formik | |
onSubmit={(values, FormikActions) => { | |
signIn({ | |
variables: values | |
}); | |
FormikActions.setSubmitting(false); | |
}} | |
render={form} | |
/> | |
)} | |
</Mutation> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment