📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
PR review fixes
Blue Mouse576536ea1020
diff --git a/web/app/pages/Project/tabs/Journeys/JourneysView.tsx b/web/app/pages/Project/tabs/Journeys/JourneysView.tsxindex 2202e581f..a7ac7f241 100644--- a/web/app/pages/Project/tabs/Journeys/JourneysView.tsx+++ b/web/app/pages/Project/tabs/Journeys/JourneysView.tsx@@ -1,7 +1,7 @@import { ResponsiveSankey } from '@nivo/sankey'import { PathIcon } from '@phosphor-icons/react'import _isEmpty from 'lodash/isEmpty'-import { useEffect, useMemo, useRef, useState } from 'react'+import { useEffect, useMemo, useState } from 'react'import { useTranslation } from 'react-i18next'import { toast } from 'sonner'@@ -85,7 +85,6 @@ const JourneysView = ({ tnMapping }: JourneysViewProps) => {page: stringsessions: number} | null>(null)- const loadingRef = useRef(false)const { fetchJourneys } = useJourneysProxy()@@ -109,11 +108,6 @@ const JourneysView = ({ tnMapping }: JourneysViewProps) => {let cancelled = falseconst load = async () => {- if (loadingRef.current) {- return- }-- loadingRef.current = truesetIsLoading(true)try {@@ -139,8 +133,6 @@ const JourneysView = ({ tnMapping }: JourneysViewProps) => {)}} finally {- loadingRef.current = false-if (!cancelled) {setIsLoading(false)}diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 6b3b70d74..9e8eaec51 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -2676,7 +2676,7 @@},"page": "Page","journeys": {- "noData": "Journeys are not available yet due to lack of data, or you disabled this feature in the tracking script parameters.",+ "noData": "Journeys are not available yet due to lack of data, or you've disabled this feature in the tracking script parameters.","stepX": "Step {{x}}","xSteps": "{{x}} steps","xJourneys": "{{x}} journeys",