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 lodash/prefer-lodash-method

Blue Mouse6dd45ecc5028
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index c6d50c841..b4fc733e3 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -365,7 +365,6 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
const url = new URL(window.location)
const { searchParams } = url
const intialTimeBucket: string = searchParams.get('timeBucket') || ''
- // eslint-disable-next-line lodash/prefer-lodash-method
if (!_includes(validTimeBacket, intialTimeBucket)) {
return
}
@@ -417,7 +416,6 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
const url = new URL(window.location)
const { searchParams } = url
const initialFilters: any[] = []
- // eslint-disable-next-line lodash/prefer-lodash-method
searchParams.forEach((value, key) => {
if (!_includes(validFilters, key)) {
return