main
useCart
export const useCart = () => { const [cart, setCart] = useState<PogressState>({ data: undefined, loaded: false, loading: false,