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!

fix lint complaints

Blue Mouse25bc75100715
diff --git a/src/redux/sagas/ui/set_project_view_prefs.js b/src/redux/sagas/ui/set_project_view_prefs.js
index 7c00efda5..da2c0f43e 100644
--- a/src/redux/sagas/ui/set_project_view_prefs.js
+++ b/src/redux/sagas/ui/set_project_view_prefs.js
@@ -1,8 +1,7 @@
-import _isEmpty from 'lodash/isEmpty'
import { LS_VIEW_PREFS_SETTING } from 'redux/constants'
import { getInitialViewPrefs } from 'redux/reducers/ui/cache'
-export default function* setProjectViewPrefs({ payload: { pid, period, timeBucket } }) {
+export default function setProjectViewPrefs({ payload: { pid, period, timeBucket } }) {
if (typeof window !== 'undefined' && window.localStorage) {
const viewPrefs = {
...getInitialViewPrefs(),