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!

captcha tb fix

Blue Mouse04a649ed87b3
diff --git a/app/pages/Captcha/View/ViewCaptcha.tsx b/app/pages/Captcha/View/ViewCaptcha.tsx
index f08a24cc4..d88412cb3 100644
--- a/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -129,10 +129,10 @@ const ViewCaptcha = ({
const [isPanelsDataEmpty, setIsPanelsDataEmpty] = useState<boolean>(false)
const [analyticsLoading, setAnalyticsLoading] = useState<boolean>(true)
const [period, setPeriod] = useState<string>(
- projectViewPrefs ? projectViewPrefs[id]?.period || periodPairs[3].period : periodPairs[3].period,
+ projectViewPrefs ? projectViewPrefs[id]?.period || periodPairs[4].period : periodPairs[4].period,
)
const [timeBucket, setTimebucket] = useState<string>(
- projectViewPrefs ? projectViewPrefs[id]?.timeBucket || periodPairs[3].tbs[1] : periodPairs[3].tbs[1],
+ projectViewPrefs ? projectViewPrefs[id]?.timeBucket || periodPairs[4].tbs[1] : periodPairs[4].tbs[1],
)
const activePeriod: {
period: string