Custom hook to safely consume the Catalog context. *
The current catalog state and modifier functions.
Will throw an error if used inside a component that is not a child of <CatalogProvider>.
<CatalogProvider>
Custom hook to safely consume the Catalog context. *