import { useState, useEffect } from "react";

export function useProductCatalog() {
  const [products, setProducts] = useState<Array<{
    id: string;
    name: string;
  }>>([]);

  useEffect(() => {
    console.log("Loading products");
  }, []);

  return { products };
}
