Add frontend pages imporvements
This commit is contained in:
@@ -222,6 +222,7 @@ export const useTenantStore = create<TenantState>()(
|
||||
);
|
||||
|
||||
// Selectors for common use cases
|
||||
// Note: For getting tenant ID, prefer using useTenantId() from hooks/useTenantId.ts
|
||||
export const useCurrentTenant = () => useTenantStore((state) => state.currentTenant);
|
||||
export const useAvailableTenants = () => useTenantStore((state) => state.availableTenants);
|
||||
export const useCurrentTenantAccess = () => useTenantStore((state) => state.currentTenantAccess);
|
||||
|
||||
Reference in New Issue
Block a user