mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 16:19:49 +00:00
feat(warehouse) add warehouse gird.
This commit is contained in:
24
src/containers/Preferences/Warehouses/WarehousesList.js
Normal file
24
src/containers/Preferences/Warehouses/WarehousesList.js
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user