Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove prop-types

Blue Mouse17dd69b9b2cd
diff --git a/app/pages/Project/Alerts/View/ProjectAlertsView.tsx b/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
index c40276064..d5d05b170 100644
--- a/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
+++ b/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
@@ -9,7 +9,6 @@ import _reduce from 'lodash/reduce'
import _filter from 'lodash/filter'
import { useNavigate, Link } from '@remix-run/react'
import { useTranslation } from 'react-i18next'
-import PropTypes from 'prop-types'
import { useDispatch, useSelector } from 'react-redux'
import {
BellIcon,
@@ -301,13 +300,4 @@ const ProjectAlerts = ({ projectId }: IProjectAlerts): JSX.Element => {
)
}
-ProjectAlerts.propTypes = {
- projectId: PropTypes.string.isRequired,
- alerts: PropTypes.array.isRequired,
- loading: PropTypes.bool.isRequired,
- user: PropTypes.object.isRequired,
- total: PropTypes.number.isRequired,
- authenticated: PropTypes.bool.isRequired,
-}
-
export default memo(ProjectAlerts)