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!

some fix

kruzhambus7d2d615c0e7a
diff --git a/src/redux/actions/ui/index.js b/src/redux/actions/ui/index.js
index 0321b3289..e0455eb75 100644
--- a/src/redux/actions/ui/index.js
+++ b/src/redux/actions/ui/index.js
@@ -12,13 +12,6 @@ const setProjects = (projects) => ({
},
})
-const setShareProjects = (projects) => ({
- type: types.SET_SHARE_PROJECTS,
- payload: {
- projects,
- },
-})
-
const setTotalMonthlyEvents = (totalMonthlyEvents) => ({
type: types.SET_TOTAL_MONTHLY_EVENTS,
payload: {
@@ -165,7 +158,6 @@ const UIActions = {
setShowNoEventsLeftBanner,
setProjectsShareData,
shareVerifyAsync,
- setShareProjects,
}
export default UIActions
diff --git a/src/redux/actions/ui/types.js b/src/redux/actions/ui/types.js
index 0ab6fc370..fb4943e18 100644
--- a/src/redux/actions/ui/types.js
+++ b/src/redux/actions/ui/types.js
@@ -16,7 +16,6 @@ export const types = {
SET_TOTAL_MONTHLY_EVENTS: 'UI_SET_TOTAL_MONTHLY_EVENTS',
SET_TOTAL: 'UI_SET_TOTAL',
SET_DASHBOARD_PAGINATION_PAGE: 'UI_SET_DASHBOARD_PAGINATION_PAGE',
- SET_SHARE_PROJECTS: 'UI_SET_SHARE_PROJECTS',
SET_SHOW_NO_EVENTS_LEFT: 'UI_SET_SHOW_NO_EVENTS_LEFT',
SET_PROJECTS_SHARE_DATA: 'UI_SET_PROJECTS_SHARE_DATA',
SHARE_VERIFY_ASYNC: 'UI_SHARE_VERIFY_ASYNC',
diff --git a/src/redux/reducers/ui/projects.js b/src/redux/reducers/ui/projects.js
index 83af48416..b52603387 100644
--- a/src/redux/reducers/ui/projects.js
+++ b/src/redux/reducers/ui/projects.js
@@ -26,15 +26,6 @@ const projectsReducer = (state = getInitialState(), { type, payload }) => {
}
}
- case types.SET_SHARE_PROJECTS: {
- const { projects } = payload
- return {
- ...state,
- sharedProjects: projects,
- isLoading: false,
- }
- }
-
case types.SET_DASHBOARD_PAGINATION_PAGE: {
const { page } = payload
return {