Others interested offer table modified to show only list of persons interest in an offer

This commit was merged in pull request #175.
This commit is contained in:
victorAnumudu
2023-06-15 16:31:28 +01:00
parent 0b14c7675b
commit d5ce5d758a
5 changed files with 24 additions and 9 deletions
@@ -75,7 +75,7 @@ export default function ManageInterestOffer(props) {
type="button"
className="min-w-[45px] h-auto text-[#374557] border border-sky-blue p-1 rounded-full"
onClick={() =>
navigate(props.offerDetails.pathname, { replace: true })
navigate('/offer-interest', { replace: true })
}
>
<svg
@@ -161,7 +161,7 @@ export default function ManageInterestOffer(props) {
</div>
{/* message list */}
{currentMessageList.map((item, index)=>(
<div className="my-3 w-full">
<div key={index} className="my-3 w-full">
<p className="text-base font-bold text-dark-gray dark:text-white tracking-wide">2023-04-06-from { }<span className="font-normal">Dummy name</span></p>
<p className="text-base font-bold text-dark-gray dark:text-white tracking-wide">I am testing message</p>
</div>