fix(Branches & warehouses ): mark primary.

This commit is contained in:
elforjani13
2022-02-20 18:38:19 +02:00
parent 3a4c1adbd4
commit 05b0f5caac
8 changed files with 55 additions and 32 deletions

View File

@@ -117,7 +117,7 @@ export function useActivateBranches(props) {
/**
* Mark primary the given branch.
*/
export function useMarkPrimaryBranches(props) {
export function useMarkBranchAsPrimary(props) {
const queryClient = useQueryClient();
const apiRequest = useApiRequest();

View File

@@ -237,7 +237,7 @@ export function useActivateWarehouses(props) {
/**
* Mark primary the given branch.
*/
export function useMarkPrimaryWarehouse(props) {
export function useMarkWarehouseAsPrimary(props) {
const queryClient = useQueryClient();
const apiRequest = useApiRequest();