diff --git a/packages/pl-fe/src/actions/notifications.ts b/packages/pl-fe/src/actions/notifications.ts index 41d757fff..1d1dce8df 100644 --- a/packages/pl-fe/src/actions/notifications.ts +++ b/packages/pl-fe/src/actions/notifications.ts @@ -72,8 +72,8 @@ const fetchRelatedRelationships = (dispatch: AppDispatch, notifications: Array - (dispatch: AppDispatch, getState: () => RootState) => { - const selectedFilter = useSettingsStore().settings.notifications.quickFilter.active; + (dispatch: AppDispatch) => { + const selectedFilter = useSettingsStore.getState().settings.notifications.quickFilter.active; const showInColumn = selectedFilter === 'all' ? true : (FILTER_TYPES[selectedFilter as FilterType] || [notification.type]).includes(notification.type); if (notification.account) {