import React from 'react'; import { withRouter, Link } from 'react-router-dom'; //panels import SignupPanel from '../panels/signup.jsx'; class Signup extends React.Component { constructor(props) { super(props); this.state = { signedUp: '' } //TODO: referral links } render() { let Panel; if (!this.state.signedUp) { Panel = () => { return ( this.setState({signedUp: msg}) } />); } } else { Panel = () => { return (

{this.state.signedUp}

); } } return (
Return Home

Remember to verify your email!

); } }; export default withRouter(Signup);