Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator committed Sep 3, 2024
1 parent 68cbf9b commit 07865ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/web/components/assets/price.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export const PriceChange: FunctionComponent<
const isBearish = priceChange.toDec().lt(new Dec(-THRESHOLD));
const isFlat = !isBullish && !isBearish;

console.log("----");
console.log("priceChange.toDec(): ", priceChange.toDec().toString());
console.log("priceChange", priceChange.toDec().toString());

// remove negative symbol since we're using arrows
if (isBearish) {
priceChange = priceChange.mul(new RatePretty(-1));
Expand All @@ -42,8 +38,6 @@ export const PriceChange: FunctionComponent<
.inequalitySymbol(false)
.toString();

console.log("priceChangeDisplay: ", priceChangeDisplay);
console.log("----");
const formattedPriceChangeDisplay =
value !== undefined ? `(${priceChangeDisplay})` : priceChangeDisplay;

Expand Down

0 comments on commit 07865ad

Please sign in to comment.