mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
25 lines
564 B
JavaScript
25 lines
564 B
JavaScript
import React from 'react';
|
|
import intl from 'react-intl-universal';
|
|
|
|
import Warehouses from './Warehouses';
|
|
import withDashboardActions from 'containers/Dashboard/withDashboardActions';
|
|
|
|
import { compose } from 'utils';
|
|
|
|
/**
|
|
* Warehouses List.
|
|
* @returns
|
|
*/
|
|
function WarehousesList({
|
|
// #withDashboardActions
|
|
changePreferencesPageTitle,
|
|
}) {
|
|
React.useEffect(() => {
|
|
changePreferencesPageTitle(intl.get('warehouses.label'));
|
|
}, [changePreferencesPageTitle]);
|
|
|
|
return <Warehouses />;
|
|
}
|
|
|
|
export default compose(withDashboardActions)(WarehousesList);
|