📈 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
fixed ESLint warnings
Blue Mouse109159a22a0f
diff --git a/src/pages/Captcha/View/ViewCaptcha.container.jsx b/src/pages/Captcha/View/ViewCaptcha.container.jsxindex 15b585c21..126b6a245 100644--- a/src/pages/Captcha/View/ViewCaptcha.container.jsx+++ b/src/pages/Captcha/View/ViewCaptcha.container.jsx@@ -1,7 +1,6 @@import { connect } from 'react-redux'import { errorsActions } from 'redux/actions/errors'import UIActions from 'redux/actions/ui'-import { alertsActions } from 'redux/actions/alerts'import ViewProject from './ViewCaptcha'@@ -26,9 +25,6 @@ const mapDispatchToProps = (dispatch) => ({setProjects: (project) => {dispatch(UIActions.setCaptchaProjects(project))},- generateAlert: (message, type) => {- dispatch(alertsActions.generateAlerts(message, type))- },setProjectViewPrefs: (pid, period, timeBucket, rangeDate) => {dispatch(UIActions.setCaptchaProjectsViewPrefs(pid, period, timeBucket, rangeDate))},diff --git a/src/pages/Captcha/View/ViewCaptcha.helpers.jsx b/src/pages/Captcha/View/ViewCaptcha.helpers.jsxindex 711cf50f0..b814740a3 100644--- a/src/pages/Captcha/View/ViewCaptcha.helpers.jsx+++ b/src/pages/Captcha/View/ViewCaptcha.helpers.jsx@@ -6,7 +6,7 @@ import {import * as d3 from 'd3'import dayjs from 'dayjs'import {- area, spline, bar,+ area, bar,} from 'billboard.js'import _forEach from 'lodash/forEach'import _map from 'lodash/map'@@ -21,7 +21,6 @@ import JSZip from 'jszip'import {TimeFormat, chartTypes, tbsFormatMapper, tbsFormatMapper24h,} from 'redux/constants'-import { getTimeFromSeconds, getStringFromTime } from 'utils/generic'import countries from 'utils/isoCountries'const getExportFilename = (prefix) => {diff --git a/src/pages/Captcha/View/ViewCaptcha.jsx b/src/pages/Captcha/View/ViewCaptcha.jsxindex 410028369..c4c131d5f 100644--- a/src/pages/Captcha/View/ViewCaptcha.jsx+++ b/src/pages/Captcha/View/ViewCaptcha.jsx@@ -50,7 +50,7 @@ import {} from './Panels'import {onCSVExportClick, getFormatDate, panelIconMapping, typeNameMapping, validFilters, validPeriods,- validTimeBacket, paidPeriods, noRegionPeriods, getSettings, getColumns, CHART_METRICS_MAPPING,+ validTimeBacket, paidPeriods, noRegionPeriods, getSettings, CHART_METRICS_MAPPING,} from './ViewCaptcha.helpers'import CCRow from './components/CCRow'import RefRow from './components/RefRow'@@ -59,7 +59,7 @@ import Filters from './components/Filters'import './styles.css'const ViewProject = ({- projects, isLoading: _isLoading, showError, cache, setProjectCache, projectViewPrefs, setProjectViewPrefs, authenticated, user, isPaidTierUsed, generateAlert, setProjects,+ projects, isLoading: _isLoading, showError, cache, setProjectCache, projectViewPrefs, setProjectViewPrefs, authenticated, user, isPaidTierUsed, setProjects,}) => {const { t, i18n: { language } } = useTranslation('common')const [periodPairs, setPeriodPairs] = useState(tbPeriodPairs(t))diff --git a/src/pages/Dashboard/Dashboard.container.jsx b/src/pages/Dashboard/Dashboard.container.jsxindex 7c0546b70..8b60f39f0 100644--- a/src/pages/Dashboard/Dashboard.container.jsx+++ b/src/pages/Dashboard/Dashboard.container.jsx@@ -11,7 +11,6 @@ const mapStateToProps = (state) => ({captchaProjects: state.ui.projects.captchaProjects,user: state.auth.user,isLoading: state.ui.projects.isLoading,- isLoadingCaptcha: state.ui.projects.isLoadingCaptcha,total: state.ui.projects.total,sharedTotal: state.ui.projects.sharedTotal,captchaTotal: state.ui.projects.captchaTotal,diff --git a/src/pages/Dashboard/Dashboard.jsx b/src/pages/Dashboard/Dashboard.jsxindex 49c92ba52..b83d1d07c 100644--- a/src/pages/Dashboard/Dashboard.jsx+++ b/src/pages/Dashboard/Dashboard.jsx@@ -180,7 +180,7 @@ const Dashboard = ({setUserShareData, userSharedUpdate, sharedProjectError, loadProjects, loadSharedProjects,total, setDashboardPaginationPage, dashboardPaginationPage, sharedProjects, dashboardTabs,setDashboardTabs, sharedTotal, setDashboardPaginationPageShared, dashboardPaginationPageShared, captchaProjects, captchaTotal, dashboardPaginationPageCaptcha, setDashboardPaginationPageCaptcha,- isLoadingCaptcha, loadProjectsCaptcha,+ loadProjectsCaptcha,}) => {const { t, i18n: { language } } = useTranslation('common')const [showActivateEmailModal, setShowActivateEmailModal] = useState(false)