Files
bigcapital/src/containers/InventoryAdjustments/InventoryAdjustmentView.js
2021-09-21 17:13:53 +02:00

25 lines
630 B
JavaScript

import React from 'react';
import InventoryAdjustmentDataTable from './InventoryAdjustmentDataTable';
import { useInventoryAdjustmentsContext } from './InventoryAdjustmentsProvider';
import { compose } from 'utils';
/**
* Inventory adjustments view page.
*/
function InventoryAdjustmentsView({
// #withAlertsActions.
openAlert,
}) {
return (
<InventoryAdjustmentDataTable
inventoryAdjustments={inventoryAdjustments}
isLoading={isAdjustmentsLoading}
onDeleteInventoryAdjustment={handleDeleteInventoryAdjustment}
/>
);
}
export default compose(withAlertsActions)(InventoryAdjustmentsView);