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!

fixed failing build rev. 2

Blue Mousef5eab56aec66
diff --git a/src/pages/Project/Alerts/View/ProjectAlertsView.tsx b/src/pages/Project/Alerts/View/ProjectAlertsView.tsx
index 4baa2f864..a07da9e43 100644
--- a/src/pages/Project/Alerts/View/ProjectAlertsView.tsx
+++ b/src/pages/Project/Alerts/View/ProjectAlertsView.tsx
@@ -41,7 +41,8 @@ const ProjectAlerts = ({
const [isPaidFeatureOpened, setIsPaidFeatureOpened] = useState<boolean>(false)
const history = useHistory()
- const limits = PLAN_LIMITS[user?.planCode]
+ // @ts-ignore
+ const limits = PLAN_LIMITS[user?.planCode] || PLAN_LIMITS.trial
const isLimitReached = authenticated && (total >= limits?.maxAlerts)
const projectAlerts = useMemo(() => {