import React from 'react'; import withPageTitle from 'HOCs/withPageTitle'; import Settings from './Settings'; import ChangePassword from './ChangePassword'; import styles from './profileSettings.module.css'; import Api from './Api'; import TenantKey from './TenantKey'; import OptOut from './OptOut'; import Licenses from './Licenses'; import { connect } from 'react-redux'; import { PageTitle } from 'UI'; @withPageTitle('Account - OpenReplay Preferences') @connect((state) => ({ account: state.getIn(['user', 'account']), isEnterprise: state.getIn(['user', 'account', 'edition']) === 'ee', })) export default class ProfileSettings extends React.PureComponent { render() { const { account, isEnterprise } = this.props; return (