Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenshively committed May 29, 2024
1 parent 6f24ba9 commit 98a9116
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions earn/src/pages/BoostPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ export const BackButtonWrapper = styled.button`
}
`;

const VALID_MANAGER_SET = new Set<Address>(Object.values(ALOE_II_BOOST_MANAGER_ADDRESS));

export default function BoostPage() {
const activeChain = useChain();

Expand Down Expand Up @@ -112,11 +110,11 @@ export default function BoostPage() {
//////////////////////////////////////////////////////////////*/
const borrowerNftFilterParams = useMemo(
() => ({
validManagerSet: VALID_MANAGER_SET,
validManagerSet: new Set<Address>([ALOE_II_BOOST_MANAGER_ADDRESS[activeChain.id]]),
onlyCheckMostRecentModify: true,
includeUnusedBorrowers: false,
}),
[]
[activeChain.id]
);
const { borrowerNftRefs } = useBorrowerNftRefs(userAddress, activeChain.id, borrowerNftFilterParams);

Expand Down
4 changes: 1 addition & 3 deletions earn/src/pages/MarketsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ export default function MarketsPage() {
return TabOption.Supply;
}, [searchParams]);

console.log(pendingTxn);

// MARK: wagmi hooks
const { address: userAddress } = useAccount();
const client = useClient<Config>({ chainId: activeChain.id });
Expand Down Expand Up @@ -151,7 +149,7 @@ export default function MarketsPage() {
// NOTE: Due to polling, we don't receive every block, so this bisection isn't perfect. Close enough though.
if (blockNumber % 2n) {
refetchOracleData();
} else {
} else if (selectedTab === TabOption.Borrow) {
refetchBorrowers();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down

0 comments on commit 98a9116

Please sign in to comment.