lbry-desktop/ui/js/component/auth/index.js
Jeremy Kauffman 18a40defba mostly done?
2017-06-07 20:56:52 -04:00

16 lines
454 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import {
selectAuthenticationIsPending,
selectEmailToVerify,
selectUserIsVerificationCandidate,
} from "selectors/user";
import Auth from "./view";
const select = state => ({
isPending: selectAuthenticationIsPending(state),
email: selectEmailToVerify(state),
isVerificationCandidate: selectUserIsVerificationCandidate(state),
});
export default connect(select, null)(Auth);