Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan Veer authored and Ishan Veer committed Nov 12, 2024
1 parent c5435eb commit 696e05f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions users/discord/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ let isLoading = false;
let currentPage = 1;
let showUser = 0;

/* this is the original function for fetching user data from the API, will remove it once
the API pagination issue is resolved. Currently testing pagination using mock data.
*/

if (!isDev) {
usersData[activeTab] = await getUsers(activeTab);
}

// add feature flag(feature should be only visible when query params dev=true)

export const paginateFetchedUsers = async (tabId, page = 1) => {
if (isLoading) {
return;
Expand Down

0 comments on commit 696e05f

Please sign in to comment.