You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
324 B
16 lines
324 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import Authenticated from './authenticated.component';
|
||
6 years ago
|
|
||
5 years ago
|
const mapStateToProps = (state) => {
|
||
4 years ago
|
const {
|
||
|
metamask: { isUnlocked, completedOnboarding },
|
||
4 years ago
|
} = state;
|
||
5 years ago
|
|
||
6 years ago
|
return {
|
||
|
isUnlocked,
|
||
|
completedOnboarding,
|
||
4 years ago
|
};
|
||
|
};
|
||
6 years ago
|
|
||
4 years ago
|
export default connect(mapStateToProps)(Authenticated);
|