feat(warehouse) add warehouse gird.

This commit is contained in:
elforjani13
2022-01-30 18:04:36 +02:00
parent 5b0cb0c8be
commit e4af460c0d
8 changed files with 239 additions and 1 deletions

View 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);