import type { FormattedQuoteResponse } from "@hooks/apis/common/quote/types";

export const areBothRoutesSame = (
	routeOne?: FormattedQuoteResponse,
	routeTwo?: FormattedQuoteResponse,
) => {
	if (!routeOne || !routeTwo) return false;
	return routeOne.quoteId === routeTwo.quoteId;
};
