Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import api from '~/common/api'
const ConnectedLoginForm = () => {
const handleSubmit = async (email, password) => {
await api.login(email, password)
}
return (
<LoginForm onSubmit={handleSubmit} />
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment