lbry-desktop/web/component/pixel/index.js
2021-07-14 14:07:29 -04:00

9 lines
265 B
JavaScript

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);