price and client name added

This commit was merged in pull request #171.
This commit is contained in:
victorAnumudu
2023-06-14 15:36:16 +01:00
parent 15adddb0ed
commit 6df489a0c2
@@ -12,8 +12,6 @@ export default function OffersInterestTable({offerInterestList, className}) {
const navigate = useNavigate(); const navigate = useNavigate();
let { pathname } = useLocation(); let { pathname } = useLocation();
console.log('TESTING',offerInterestList?.data)
const filterCategories = ["All Categories", "Explore", "Featured"]; const filterCategories = ["All Categories", "Explore", "Featured"];
const [selectedCategory, setCategory] = useState(filterCategories[0]); const [selectedCategory, setCategory] = useState(filterCategories[0]);
@@ -35,7 +33,7 @@ export default function OffersInterestTable({offerInterestList, className}) {
> >
{offerInterestList?.loading ? ( {offerInterestList?.loading ? (
<div className="min-h-[520px] w-full overflow-hidden flex flex-col justify-center items-center"> <div className="min-h-[520px] w-full flex flex-col justify-center items-center">
<LoadingSpinner size="16" color="sky-blue" /> <LoadingSpinner size="16" color="sky-blue" />
</div> </div>
) )
@@ -74,7 +72,7 @@ export default function OffersInterestTable({offerInterestList, className}) {
</td> </td>
<td className="text-center py-4 px-2"> <td className="text-center py-4 px-2">
<div className="flex space-x-1 items-center justify-center"> <div className="flex space-x-1 items-center justify-center">
<span> {/* <span>
<svg <svg
width="18" width="18"
height="18" height="18"
@@ -118,7 +116,8 @@ export default function OffersInterestTable({offerInterestList, className}) {
</span> </span>
<span className="text-base text-dark-gray dark:text-white font-medium whitespace-nowrap"> <span className="text-base text-dark-gray dark:text-white font-medium whitespace-nowrap">
7473 ETH 7473 ETH
</span> </span> */}
<p className="font-bold text-x text-dark-gray dark:text-white">{item?.client_name}</p>
</div> </div>
</td> </td>
<td className="text-center py-4 px-2"> <td className="text-center py-4 px-2">
@@ -149,9 +148,11 @@ export default function OffersInterestTable({offerInterestList, className}) {
/> />
</svg> </svg>
</span> </span>
<span className="text-base text-dark-gray dark:text-white font-medium"> {/* <span className="text-base text-dark-gray dark:text-white font-medium">
6392.99$ 6392.99$
</span> </span> */}
<span className="font-bold text-x text-dark-gray dark:text-white">{item?.price}</span>
<span className="font-bold text-x text-dark-gray dark:text-white">{item?.currency}</span>
</div> </div>
</td> </td>