diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-02-20 12:27:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-20 12:27:45 -0500 |
| commit | eae63e4a336785ae45cd01c4448a8444a7793613 (patch) | |
| tree | 08aeb9ce90be7ca69b56923bab6c34871b3a793a /src/constants | |
| parent | 4b8130932b943afe9fdf63c611f1897622ab795e (diff) | |
| parent | 82fc3c7ded1022a31cd532d469457d77f9214cc8 (diff) | |
Merge pull request #248 from IvanIFChen/tma258-sp-pagination-2
[TMA-258] SP Pagination
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/api.ts | 4 | ||||
| -rw-r--r-- | src/constants/constants.ts | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 6e2b28ec..57c26824 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -34,8 +34,8 @@ export const WAITLIST_USER_ENDPOINT: string = API_URL + 'waitlist-user/'; export const COMMENT_THREAD_ENDPOINT: string = API_URL + 'reply/'; // Suggested People -export const SP_UPDATE_PICTURE: string = API_URL + 'suggested_people/update_picture/'; -export const SP_BASE_ENDPOINT: string = API_URL + 'suggested_people/'; +export const SP_USERS_ENDPOINT: string = API_URL + 'suggested_people/'; +export const SP_UPDATE_PICTURE_ENDPOINT: string = API_URL + 'suggested_people/update_picture/'; // Register as FCM device export const FCM_ENDPOINT: string = API_URL + 'fcm/'; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index fbf03744..6e2c9e1c 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -184,3 +184,5 @@ export const EXPLORE_SECTION_TITLES: ExploreSectionType[] = [ export const SP_WIDTH = 375; export const SP_HEIGHT = 812; + +export const SP_PAGE_SIZE = 5; |
