Skip to content

Commit 039da12

Browse files
Merge pull request #1446 from digitalgreenorg/feat/disable-embedding
(update) : corrected the image ref name
2 parents 82503d2 + 2d26eee commit 039da12

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/features/default/src/Components/DatasetCard/DatasetCard.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import location from '../../Assets/Img/location.svg';
2-
import category from '../../Assets/Img/category.svg';
3-
import apartment from '../../Assets/Img/apartment.svg';
4-
import globe_img from '../../Assets/Img/globe_img.svg';
1+
import location from "../../Assets/Img/location.svg";
2+
import category_icon from "../../Assets/Img/category.svg";
3+
import apartment from "../../Assets/Img/apartment.svg";
4+
import globe_img from "../../Assets/Img/globe_img.svg";
55
import { Card, Typography, useMediaQuery, useTheme } from "@mui/material";
66
import React from "react";
77
import LocalStyle from "./DatasetCard.module.css";
@@ -26,7 +26,7 @@ const DatasetCart = (props) => {
2626
className={mobile ? LocalStyle.cardContainerSm : LocalStyle.cardContainer}
2727
>
2828
<div className="published">
29-
<img src={globe_img} />
29+
<img src={globe_img} />
3030
<span className="published_text">
3131
Published on:{" "}
3232
{publishDate?.split("T")[0]
@@ -36,16 +36,14 @@ const DatasetCart = (props) => {
3636
</div>
3737
<div className="d_content_title">{title}</div>
3838
<div className={"organisation"}>
39-
{orgnisationName && (
40-
<img src={apartment} />
41-
)}
39+
{orgnisationName && <img src={apartment} />}
4240
{orgnisationName && (
4341
<span className="organisation_text">{orgnisationName}</span>
4442
)}
4543
</div>
4644
<div className="d_content_text">
4745
<div className="category">
48-
<img src={category} alt="category" />
46+
<img src={category_icon} alt="category" />
4947
<span className="category_text">
5048
{Object.keys(category).length
5149
? category?.length > 1
@@ -55,7 +53,7 @@ const DatasetCart = (props) => {
5553
</span>
5654
</div>
5755
<div className="location">
58-
<img src={location} alt="location" />
56+
<img src={location} alt="location" />
5957
<span className="location_text">
6058
{geography?.country?.name
6159
? geography?.country?.name

0 commit comments

Comments
 (0)