Skip to content

Commit

Permalink
Merge pull request #378 from shreyas1434shinde/notification
Browse files Browse the repository at this point in the history
resource card UI fixes
  • Loading branch information
itsvick authored Dec 2, 2024
2 parents dcb9123 + 06d25c9 commit 3548821
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/resourceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,14 @@ const ResourceList = () => {
{learnersPostReq.length > 0 ? (
<Grid container spacing={2} sx={{ mb: 4 }}>
{learnersPostReq.map((item, index) => (
<Grid item key={index}>
<Grid xs={6} md={4} lg={3} item key={index}>
<ResourceCard
title={item.name}
// type={item.app}
resource={item.contentType}
appIcon={item?.appIcon}
identifier={item.identifier}
mimeType={item.mimeType}
/>
</Grid>
))}
Expand All @@ -138,13 +139,14 @@ const ResourceList = () => {
{facilitatorsPreReq.length > 0 ? (
<Grid container spacing={2}>
{facilitatorsPreReq.map((item, index) => (
<Grid item key={index}>
<Grid xs={6} md={4} lg={3} item key={index}>
<ResourceCard
title={item.name}
// type={item.app || "Facilitator"}
resource={item.contentType}
appIcon={item?.appIcon}
identifier={item.identifier}
mimeType={item.mimeType}
/>
</Grid>
))}
Expand Down

0 comments on commit 3548821

Please sign in to comment.