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!

rm unused comment

Blue Mousef3549a14fcfc
diff --git a/web/app/hoc/protected.tsx b/web/app/hoc/protected.tsx
index 3049ec00c..5e76c6560 100644
--- a/web/app/hoc/protected.tsx
+++ b/web/app/hoc/protected.tsx
@@ -48,10 +48,6 @@ export const withAuthentication = <P extends PropsType>(WrappedComponent: any, a
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isAuthenticated, shouldBeAuthenticated, isLoading])
- // if (!selector) {
- // return null
- // }
-
return <WrappedComponent {...props} />
}