We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5435eb commit 696e05fCopy full SHA for 696e05f
users/discord/App.js
@@ -23,16 +23,10 @@ let isLoading = false;
23
let currentPage = 1;
24
let showUser = 0;
25
26
-/* this is the original function for fetching user data from the API, will remove it once
27
-the API pagination issue is resolved. Currently testing pagination using mock data.
28
- */
29
-
30
if (!isDev) {
31
usersData[activeTab] = await getUsers(activeTab);
32
}
33
34
-// add feature flag(feature should be only visible when query params dev=true)
35
36
export const paginateFetchedUsers = async (tabId, page = 1) => {
37
if (isLoading) {
38
return;
0 commit comments