From 87f049ba28a70330e05dee6a130e634dc4f62ec1 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 21 May 2022 16:55:20 +0430 Subject: [PATCH] update History.js --- src/components/Tabels/ReactTable5/History.js | 29 ++++---------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/src/components/Tabels/ReactTable5/History.js b/src/components/Tabels/ReactTable5/History.js index 5b421a6..458576f 100644 --- a/src/components/Tabels/ReactTable5/History.js +++ b/src/components/Tabels/ReactTable5/History.js @@ -4,46 +4,29 @@ const History = ({ sentForms }) => { return (
{/* title */} - - توضیحات قبلی: - + توضیحات قبلی: {/* content */} -
+
{/* {sentForms.slice(0, 4).map((sentForm, index) => ( */} {sentForms.map((sentForm, index) => (
{/* content */}
-

- {sentForm.title} -

-

+

{sentForm.title}

+

تاریخ: - {" "} {sentForm.date}

{/* border */} {Number(index) !== sentForms.length - 1 && ( -
+
)}
))}
{/* left border */} -
+
); };