import React from "react";
import CustomerViewDetails from "../../_helper/customerViewDetails";
import OrdersAndNotes from "../../_helper/ordersAndNotes";

const ViewDetails = ({ params }: { params: { slug: string } }) => {
  return (
    <div className="grid grid-cols-2 gap-14 h-[50rem] overflow-hidden mt-10 mb-8">
      <CustomerViewDetails customerId={Number(params?.slug)} />

      <OrdersAndNotes id={Number(params?.slug)} />
    </div>
  );
};

export default ViewDetails;
