📈 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
set explicit any for callback
Blue Mousef990354245e5
diff --git a/src/hoc/Selfhosted.tsx b/src/hoc/Selfhosted.tsxindex 2723729b0..be10567df 100644--- a/src/hoc/Selfhosted.tsx+++ b/src/hoc/Selfhosted.tsx@@ -25,7 +25,7 @@ const Selfhosted: React.FC<ISelfhosted> = ({ children }): JSX.Element => {history.push(DEFAULT_PAGE)}- const unlisten = history.listen(({ pathname }) => {+ const unlisten = history.listen(({ pathname }: any) => {if (_includes(selfHostedBlacklist, pathname)) {history.push(DEFAULT_PAGE)}