diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-29 15:01:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 15:01:52 -0400 |
| commit | ad2ad5d232473d38426c2f0f8283ba015dadfd4c (patch) | |
| tree | f375a074fa23ca70c304f93b5577ed830250394c /src/store | |
| parent | 4de1ebd43437712e28a89bb624c5b12afad45cc6 (diff) | |
| parent | ee80ddfb8a486fea31d845aba4e0b4847fe637e9 (diff) | |
Merge pull request #306 from TaggiD-Inc/tma-701-private-account-banner
[TMA 701] : Separated Private and Public Profiles
Diffstat (limited to 'src/store')
| -rw-r--r-- | src/store/actions/userFriends.ts | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/store/actions/userFriends.ts b/src/store/actions/userFriends.ts index 9da3cb4a..4183d0f6 100644 --- a/src/store/actions/userFriends.ts +++ b/src/store/actions/userFriends.ts @@ -1,25 +1,24 @@ -import {getTokenOrLogout, userXInStore} from '../../utils'; -import {RootState} from '../rootReducer'; -import { - FriendshipStatusType, - ProfilePreviewType, - ScreenType, - UserType, -} from '../../types/types'; +import {Action, ThunkAction} from '@reduxjs/toolkit'; import { acceptFriendRequestService, addFriendService, + deleteFriendshipService, friendOrUnfriendUser, loadFriends, - deleteFriendshipService, } from '../../services'; -import {Action, ThunkAction} from '@reduxjs/toolkit'; import { - userFriendsFetched, + FriendshipStatusType, + ProfilePreviewType, + ScreenType, + UserType, +} from '../../types/types'; +import {getTokenOrLogout, userXInStore} from '../../utils'; +import { updateFriends, + userFriendsFetched, userXFriendshipEdited, - userLoggedIn, } from '../reducers'; +import {RootState} from '../rootReducer'; export const loadFriendsData = ( userId: string, |
