Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
mattupham committed Aug 5, 2024
1 parent 8b4c624 commit 63bc9a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/web/components/complex/portfolio/assets-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const calculatePortfolioPerformance = (
selectedDifferencePricePretty: PricePretty;
totalPriceChange: number;
} => {
console.log("dataPoint", dataPoint);

const openingPrice = data?.[0]?.value;
const openingPriceWithFallback = !openingPrice ? 1 : openingPrice; // handle first value being 0 or undefined
const selectedDifference = (dataPoint?.value ?? 0) - openingPriceWithFallback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export const PortfolioPage: FunctionComponent = () => {
</Tab.Panels>
)}
</Tab.Group>
)
</section>
<section className="w-full">
{!isLoadingAllocation && !userHasNoAssets && (
Expand Down

0 comments on commit 63bc9a3

Please sign in to comment.