Skip to content

Instantly share code, notes, and snippets.

@Hydrock
Created January 24, 2020 09:13
Show Gist options
  • Save Hydrock/31e0a91caab865b3df33c46f60a90d1c to your computer and use it in GitHub Desktop.
Save Hydrock/31e0a91caab865b3df33c46f60a90d1c to your computer and use it in GitHub Desktop.
const machineConfig = {
id: 'signIn',
initial: 'dataEntry',
states: {
dataEntry: {},
awaitingResponse: {},
emailErr: {},
passwordErr: {},
serviceErr: {},
signedIn: {},
}
}
export default machineConfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment