Created
September 20, 2018 08:29
-
-
Save fi11/e4e2407055291a1bed5369bca3887f8a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function render() { | |
| switch(this.state) { | |
| case LOGIN_STATE: | |
| return <Login/> | |
| case SUCCESS_STATE: | |
| return <Success/> | |
| default: | |
| return <Login /> | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment