Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[C-934] Migrate user-list sagas to common (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers committed Aug 31, 2022
1 parent 1321a57 commit d2c0dca
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { select, put } from 'typed-redux-saga'

import { watchFavoriteError } from 'common/store/user-list/favorites/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'

const { getId, getUserList, getUserIds, getFavoriteType } =
favoritesUserListSelectors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchFollowersError } from 'common/store/user-list/followers/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
const { getFollowersError } = followersUserListActions
const { getId, getUserList, getUserIds } = followersUserListSelectors
const { getUser } = cacheUsersSelectors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchFollowingError } from 'common/store/user-list/following/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
const { getId, getUserList, getUserIds } = followingUserListSelectors
const { getFollowingError } = followingUserListActions
const { getUser } = cacheUsersSelectors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchMutualsError } from 'common/store/user-list/mutuals/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
const { getMutualsError } = mutualsUserListActions
const { getId, getUserList, getUserIds } = mutualsUserListSelectors
const { getUser } = cacheUsersSelectors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchRepostsError } from 'common/store/user-list/reposts/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
const { getId, getRepostsType, getUserList, getUserIds } =
repostsUserListSelectors
const { trackRepostError, playlistRepostError } = repostsUserListActions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchSupportingError } from 'common/store/user-list/supporting/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
import { fetchSupporting } from 'services/audius-backend/Tipping'
const { getId, getUserList, getUserIds } = supportingUserListSelectors
const { getSupportingError } = supportingUserListActions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { put, select } from 'typed-redux-saga'

import { watchTopSupportersError } from 'common/store/user-list/top-supporters/errorSagas'
import { createUserListProvider } from 'components/user-list/utils'
import { createUserListProvider } from 'common/store/user-list/utils'
import { fetchSupporters } from 'services/audius-backend/Tipping'
const { getTopSupportersError } = topSupportersUserListActions
const { getId, getUserList, getUserIds } = topSupportersUserListSelectors
Expand Down
14 changes: 7 additions & 7 deletions packages/web/src/store/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ import smartCollectionPageSagas from 'common/store/smart-collection/sagas'
import socialSagas from 'common/store/social/sagas'
import artistRecommendationsSagas from 'common/store/ui/artist-recommendations/sagas'
import reactionSagas from 'common/store/ui/reactions/sagas'
import favoritePageSagas from 'common/store/user-list/favorites/sagas'
import followersPageSagas from 'common/store/user-list/followers/sagas'
import followingPageSagas from 'common/store/user-list/following/sagas'
import mutualsPageSagas from 'common/store/user-list/mutuals/sagas'
import notificationUsersPageSagas from 'common/store/user-list/notifications/sagas'
import repostPageSagas from 'common/store/user-list/reposts/sagas'
import supportingPageSagas from 'common/store/user-list/supporting/sagas'
import topSupportersPageSagas from 'common/store/user-list/top-supporters/sagas'
import addToPlaylistSagas from 'components/add-to-playlist/store/sagas'
import changePasswordSagas from 'components/change-password/store/sagas'
import firstUploadModalSagas from 'components/first-upload-modal/store/sagas'
Expand All @@ -51,17 +58,10 @@ import rewardsPageSagas from 'pages/audio-rewards-page/store/sagas'
import collectionSagas from 'pages/collection-page/store/sagas'
import deactivateAccountSagas from 'pages/deactivate-account-page/store/sagas'
import deletedSagas from 'pages/deleted-page/store/sagas'
import favoritePageSagas from 'pages/favorites-page/sagas'
import followersPageSagas from 'pages/followers-page/sagas'
import followingPageSagas from 'pages/following-page/sagas'
import historySagas from 'pages/history-page/store/sagas'
import mutualsPageSagas from 'pages/mutuals-page/sagas'
import remixesSagas from 'pages/remixes-page/store/sagas'
import repostPageSagas from 'pages/reposts-page/sagas'
import searchPageSagas from 'pages/search-page/store/sagas'
import settingsSagas from 'pages/settings-page/store/sagas'
import supportingPageSagas from 'pages/supporting-page/sagas'
import topSupportersPageSagas from 'pages/top-supporters-page/sagas'
import uploadSagas from 'pages/upload-page/store/sagas'
import { initInterface } from 'services/native-mobile-interface/helpers'
import webAnalyticsSagas from 'store/analytics/sagas'
Expand Down

0 comments on commit d2c0dca

Please sign in to comment.