import { useBookingPerspective } from "./useBookingPerspective.js";
import { useOrderPerspective } from "./useOrderPerspective.js";
import { useMemo } from "react";
//#region src/plus/pisellSalesManagement/hooks/usePerspectives.tsx
const usePerspectives = (params) => {
	const orderPerspective = useOrderPerspective();
	const bookingPerspective = useBookingPerspective(params);
	return useMemo(() => {
		return [orderPerspective, bookingPerspective];
	}, [orderPerspective, bookingPerspective]);
};
//#endregion
export { usePerspectives as default };
