diff --git a/src/components/DuosHeader.jsx b/src/components/DuosHeader.jsx index 983b644de..5e4e4abf7 100644 --- a/src/components/DuosHeader.jsx +++ b/src/components/DuosHeader.jsx @@ -365,7 +365,7 @@ const DuosHeader = (props) => { }; const makeNotifications = () => { - return state.notificationData.map((d, index) => ); + return state.notificationData.map((d, index) => ); }; const toggleDrawer = (boolVal) => { diff --git a/src/components/Notification.js b/src/components/Notification.js index 27ef4ccb4..8278b07a7 100644 --- a/src/components/Notification.js +++ b/src/components/Notification.js @@ -8,8 +8,8 @@ import ReportIcon from '@mui/icons-material/Report'; import style from './Notification.module.css'; export const Notification = (props) => { - const {notificationData, divKey} = props; - let notificationDiv =
; + const {notificationData, index} = props; + let notificationDiv =
; if (!isEmpty(notificationData)) { const iconStyle = { @@ -40,7 +40,7 @@ export const Notification = (props) => { // eslint-disable-next-line react/no-children-prop const content = ; notificationDiv =
{icon}
{content}