Created
July 18, 2018 07:31
-
-
Save rajatk16/7d893ee2bc124315df5c722dbb92c073 to your computer and use it in GitHub Desktop.
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
import react from 'react'; | |
/* Other imports */ | |
/* Code */ | |
export default class App extends React.Component { | |
render() { | |
const {userIsLoaded, user} = this.props; | |
if (!userIsLoaded) return <Loader />; | |
return ( | |
/* Code */ | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment