mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
29 lines
683 B
JavaScript
29 lines
683 B
JavaScript
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 { compose } from 'utils';
|
|
|
|
/**
|
|
* Users list.
|
|
*/
|
|
function UsersListPreferences({
|
|
// #withDashboardActions
|
|
changePreferencesPageTitle,
|
|
}) {
|
|
useEffect(() => {
|
|
changePreferencesPageTitle(intl.get('users'));
|
|
}, [changePreferencesPageTitle]);
|
|
|
|
return (
|
|
<UsersListProvider>
|
|
<UsersDataTable />
|
|
</UsersListProvider>
|
|
);
|
|
}
|
|
|
|
export default compose(withDashboardActions)(UsersListPreferences);
|