mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat(warehouse): add crud warehouse.
This commit is contained in:
@@ -13,9 +13,6 @@ const WarehouseFormContext = React.createContext();
|
|||||||
* Warehouse form provider.
|
* Warehouse form provider.
|
||||||
*/
|
*/
|
||||||
function WarehouseFormProvider({ dialogName, warehouseId, ...props }) {
|
function WarehouseFormProvider({ dialogName, warehouseId, ...props }) {
|
||||||
const { state } = useLocation();
|
|
||||||
|
|
||||||
console.log(state, 'XXX');
|
|
||||||
// Create and edit warehouse mutations.
|
// Create and edit warehouse mutations.
|
||||||
const { mutateAsync: createWarehouseMutate } = useCreateWarehouse();
|
const { mutateAsync: createWarehouseMutate } = useCreateWarehouse();
|
||||||
const { mutateAsync: editWarehouseMutate } = useEditWarehouse();
|
const { mutateAsync: editWarehouseMutate } = useEditWarehouse();
|
||||||
|
|||||||
Reference in New Issue
Block a user