combine destructuring

This commit is contained in:
Riley Davis
2017-03-17 10:18:07 -06:00
parent df4e07d39c
commit c48ce8323d
@@ -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