Skip to content

Commit

Permalink
chore: removed console log
Browse files Browse the repository at this point in the history
  • Loading branch information
k0beLeenders committed Dec 11, 2024
1 parent d33f336 commit 1c5dffc
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const useRewardSimulation = ({
const handleSimulation = React.useCallback(async () => {
try {
if (!marginfiClient || !selectedAccount) {
console.log("hit1");
throw new Error("No marginfi client or selected account");
}

Expand Down Expand Up @@ -82,7 +81,6 @@ export const useRewardSimulation = ({
try {
previewAtas = await marginfiClient.simulateTransactions([txns], atas);
} catch (error) {
console.log("hit2");
setSimulationResult(NO_REWARDS_USER);
return;
}
Expand Down

0 comments on commit 1c5dffc

Please sign in to comment.