mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
22 lines
489 B
JavaScript
22 lines
489 B
JavaScript
import React from 'react'
|
|
import {
|
|
connect
|
|
} from 'react-redux'
|
|
import {
|
|
doUserEmailDecline
|
|
} from 'actions/user'
|
|
import {
|
|
selectAuthenticationIsPending,
|
|
selectEmailNewDeclined,
|
|
selectEmailNewExistingEmail,
|
|
selectUser,
|
|
} from 'selectors/user'
|
|
import Auth from './view'
|
|
|
|
const select = (state) => ({
|
|
isPending: selectAuthenticationIsPending(state),
|
|
existingEmail: selectEmailNewExistingEmail(state),
|
|
user: selectUser(state),
|
|
})
|
|
|
|
export default connect(select, null)(Auth)
|