feat(warehouse): add crud warehouse.

This commit is contained in:
elforjani13
2022-02-01 21:07:28 +02:00
parent fc097378cb
commit 8d2bede3d4

View File

@@ -13,9 +13,6 @@ const WarehouseFormContext = React.createContext();
* Warehouse form provider.
*/
function WarehouseFormProvider({ dialogName, warehouseId, ...props }) {
const { state } = useLocation();
console.log(state, 'XXX');
// Create and edit warehouse mutations.
const { mutateAsync: createWarehouseMutate } = useCreateWarehouse();
const { mutateAsync: editWarehouseMutate } = useEditWarehouse();