import ProgressChange from "@/app/component/ProgressChange";
import React from "react";

function Rates({ comment, changeData }) {
  return (
    <ul className="flex w-full lg:w-fit flex-col items-start justify-start gap-1.5">
      {comment.rate?.map((item, idx) => (
        <ProgressChange
          key={idx}
          data={item}
          parent="rate"
          changeData={changeData}
        />
      ))}
    </ul>
  );
}

export default Rates;
