import { useProductsStore } from '../stores/productsStore';
export const useProducts = () => {
    const products = useProductsStore((state) => state.products);
    const fetchedTenantId = useProductsStore((state) => state.fetchedTenantId);
    if (!fetchedTenantId) {
        console.warn('useProducts: Products store has not been populated. This hook is only available when the current product has isUnityDefault set to true.');
    }
    return products;
};
//# sourceMappingURL=useProducts.js.map