mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
33
src/containers/Preferences/Users/UsersList.js
Normal file
33
src/containers/Preferences/Users/UsersList.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
import {UsersListProvider } from './UsersProvider';
|
||||
import withDashboardActions from 'containers/Dashboard/withDashboardActions';
|
||||
|
||||
import UsersDataTable from './UsersDataTable';
|
||||
import UsersAlerts from './UsersAlerts';
|
||||
import { compose } from 'utils';
|
||||
|
||||
/**
|
||||
* Users list.
|
||||
*/
|
||||
function UsersListPreferences({
|
||||
// #withDashboardActions
|
||||
changePreferencesPageTitle,
|
||||
}) {
|
||||
|
||||
useEffect(() => {
|
||||
changePreferencesPageTitle(intl.get('users'));
|
||||
}, [changePreferencesPageTitle]);
|
||||
|
||||
return (
|
||||
<UsersListProvider>
|
||||
<UsersDataTable />
|
||||
<UsersAlerts />
|
||||
</UsersListProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default compose(
|
||||
withDashboardActions,
|
||||
)(UsersListPreferences);
|
||||
Reference in New Issue
Block a user