From 2d26eee7b393fa866b97b8c689f5b93b1871bf49 Mon Sep 17 00:00:00 2001 From: sohitkumar Date: Wed, 23 Oct 2024 10:50:10 +0530 Subject: [PATCH] (update) : corrected the image ref name --- .../src/Components/DatasetCard/DatasetCard.js | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/features/default/src/Components/DatasetCard/DatasetCard.js b/src/features/default/src/Components/DatasetCard/DatasetCard.js index 8a856d69..2434a889 100644 --- a/src/features/default/src/Components/DatasetCard/DatasetCard.js +++ b/src/features/default/src/Components/DatasetCard/DatasetCard.js @@ -1,7 +1,7 @@ -import location from '../../Assets/Img/location.svg'; -import category from '../../Assets/Img/category.svg'; -import apartment from '../../Assets/Img/apartment.svg'; -import globe_img from '../../Assets/Img/globe_img.svg'; +import location from "../../Assets/Img/location.svg"; +import category_icon from "../../Assets/Img/category.svg"; +import apartment from "../../Assets/Img/apartment.svg"; +import globe_img from "../../Assets/Img/globe_img.svg"; import { Card, Typography, useMediaQuery, useTheme } from "@mui/material"; import React from "react"; import LocalStyle from "./DatasetCard.module.css"; @@ -26,7 +26,7 @@ const DatasetCart = (props) => { className={mobile ? LocalStyle.cardContainerSm : LocalStyle.cardContainer} >
- + Published on:{" "} {publishDate?.split("T")[0] @@ -36,16 +36,14 @@ const DatasetCart = (props) => {
{title}
- {orgnisationName && ( - - )} + {orgnisationName && } {orgnisationName && ( {orgnisationName} )}
- category + category {Object.keys(category).length ? category?.length > 1 @@ -55,7 +53,7 @@ const DatasetCart = (props) => {
- location + location {geography?.country?.name ? geography?.country?.name