Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEgghead27 committed Sep 5, 2024
1 parent bcf3d9d commit 19e1a7c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/pages/Catalog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ const Catalog = () => {
if (isOne) columns = 1;

const getOrgs = async (searchState: SearchState, isReset?: boolean) => {
console.log("GETTING ORGS");
const originalOffset = isReset ? 0 : searchState.offset;
console.log({ isReset, originalOffset, searchState });
// setSearchState({...searchState, offset: originalOffset + querySize});

let orgData, orgError;
Expand Down Expand Up @@ -210,18 +208,10 @@ const Catalog = () => {
}
};
}, [loadingObserver, searchState]);
/*
Testing
useEffect(() => {
console.log(`${orgs.length} orgs!`)
console.log(`${Object.keys(getUnique(orgs)).length} unique orgs!`);
}, [orgs])
*/

let approvedOrgs = searchState.orgs.filter(
(o) => o.state !== "PENDING" && o.state !== "LOCKED",
);
console.log(searchState);

return (
<Box sx={{ display: "flex", position: "relative", flexWrap: "wrap" }}>
Expand Down

0 comments on commit 19e1a7c

Please sign in to comment.