Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class QuestionsPage extends Component {
- /*
- class methods
- */
- render() {
- const { questions, users, currentUser } = this.props;
- const { loading } = this.state;
- if (error) { // 'error' is undefined. Remove if unused
- return <avatarLoginComp />;
- }
- return (
- {/* return JSX here */}
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement