lbry-desktop/web/component/pixel/index.js

10 lines
265 B
JavaScript
Raw Permalink Normal View History

2021-07-14 17:04:14 +02:00
import { connect } from 'react-redux';
import { selectUserVerifiedEmail } from 'redux/selectors/user';
import Pixel from './view';
const select = (state) => ({
isAuthenticated: Boolean(selectUserVerifiedEmail(state)),
});
export default connect(select)(Pixel);