Skip to content

Commit

Permalink
added placeholder when data is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonfurtado2000 committed Feb 14, 2024
1 parent 3b0952c commit 2d4d28a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const CodelabzCarousel = ({ sortBy }) => {
spaceBetween={20}
style={{ padding: "20px 20px" }}
>
{tutorials.length == 0 && <Typography>Currently there is no data to display!!</Typography>}
{tutorials.map((tutorial, i) => {
return tutorial == 0 ? (
<SwiperSlide>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const OrgsCarousel = () => {
spaceBetween={20}
style={{ padding: "20px 20px" }}
>
{launchedOrgs.length == 0 && <Typography>Currently there is no data to display!!</Typography>}
{launchedOrgs.map((org, i) => {
return org == 0 ? (
<SwiperSlide>
Expand Down

0 comments on commit 2d4d28a

Please sign in to comment.