diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-18 19:08:16 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-18 19:08:16 -0500 |
commit | cd10595e8675c8bcf32399a910f90a626d706f3a (patch) | |
tree | 3b42405eb871c965abb599f58098119e079d0d52 /src/constants | |
parent | 0c1b1831392825556d9731f95561da2ef413dd4b (diff) |
pagination mostly working
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/api.ts | 3 | ||||
-rw-r--r-- | src/constants/constants.ts | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 215dadc0..57c26824 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -34,7 +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_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; |