mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix(Branches & warehouses ): mark primary.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user