mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
22 lines
538 B
JavaScript
22 lines
538 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
selectUser,
|
|
selectPasswordSetSuccess,
|
|
selectPasswordSetError,
|
|
doUserPasswordSet,
|
|
doClearPasswordEntry,
|
|
} from 'lbryinc';
|
|
import { doToast } from 'redux/actions/notifications';
|
|
import UserSignIn from './view';
|
|
|
|
const select = state => ({
|
|
user: selectUser(state),
|
|
passwordSetSuccess: selectPasswordSetSuccess(state),
|
|
passwordSetError: selectPasswordSetError(state),
|
|
});
|
|
|
|
export default connect(select, {
|
|
doUserPasswordSet,
|
|
doToast,
|
|
doClearPasswordEntry,
|
|
})(UserSignIn);
|