src/modules/notification/Notifications.js
Function Notifications
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function Notifications() {
const classes = useStyles()
const { allIds, byId, dismissNotification } = useNotifications()
// Only render if notifications exist
if (!allIds || !Object.keys(allIds).length) {