'use client';

import React from 'react';

import OrderAnalysesCards, { OrderAnalysisCard } from './order-analyses-cards';

export default function Recommendations({
  recommended,
  countryCode,
}: {
  recommended: OrderAnalysisCard[];
  countryCode: string;
}) {
  if (recommended.length < 1) {
    return null;
  }

  return (
    <div>
      <h4>Medreport soovitab teile</h4>
      <OrderAnalysesCards analyses={recommended} countryCode={countryCode} />
    </div>
  );
}
