ens-usernames/app/components/standard/TokenPermissionConnect.js

10 lines
345 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import TokenPermissions from './TokenPermission';
import { getCurrentAccount, accountsIsLoading } from '../../reducers/accounts';
const mapStateToProps = state => ({
account: getCurrentAccount(state),
isLoading: accountsIsLoading(state),
});
export default connect(mapStateToProps)(TokenPermissions);