combine destructuring

This commit is contained in:
Riley Davis
2017-03-20 10:47:00 -07:00
committed by gaba
parent 46ecf0c06f
commit 09ec2dba94
@@ -23,11 +23,7 @@ class LayoutContainer extends Component {
passwordRequestSuccess
} = this.props.auth;
const {
TALK_RECAPTCHA_PUBLIC
} = this.props;
const {handleLogout} = this.props;
const {handleLogout, TALK_RECAPTCHA_PUBLIC} = this.props;
if (loadingUser) { return <FullLoading />; }
if (!isAdmin) {
return <AdminLogin