diff --git a/client/src/components/dashboard-component/index.jsx b/client/src/components/dashboard-component/index.jsx
index cd2e7bab..eb5cd7dc 100644
--- a/client/src/components/dashboard-component/index.jsx
+++ b/client/src/components/dashboard-component/index.jsx
@@ -1,5 +1,5 @@
import { useState } from "react";
-import { Typography, Container, Box } from "@mui/material";
+import { Typography, Container } from "@mui/material";
import InputAdornment from "@mui/material/InputAdornment";
import SearchIcon from "@mui/icons-material/Search";
import DashboardHeaderComponent from "./header-dashboard-component";
@@ -36,17 +36,7 @@ function DashboardComponent() {
Job Lead Updates
- {jobUpdates.length > 0 ? (
-
- ) : (
-
-
-
- )}
+
- {jobUpdates.map((update) => (
- <>
- 0 ? (
+ jobUpdates.map((update) => (
+ <>
+
+
+ >
+ ))
+ ) : (
+
+
-
- >
- ))}
+
+ )}
);
}
@@ -29,7 +40,6 @@ UpdatesCollection.propTypes = {
userName: PropTypes.string.isRequired,
companyName: PropTypes.string.isRequired,
date: PropTypes.string.isRequired,
- // eslint-disable-next-line
})
).isRequired,
};
diff --git a/client/src/components/dashboard-component/update-collection-component/index.styles.jsx b/client/src/components/dashboard-component/update-collection-component/index.styles.jsx
index b71d8e9d..a7910cb4 100644
--- a/client/src/components/dashboard-component/update-collection-component/index.styles.jsx
+++ b/client/src/components/dashboard-component/update-collection-component/index.styles.jsx
@@ -3,7 +3,7 @@ import { Box } from "@mui/material";
const JobUpdatesContainer = styled(Box)`
height: 40vh;
- min-height: 100px;
+ min-height: 300px;
overflow-y: auto;
overflow-x: hidden;
`;