Skip to content

Commit

Permalink
Use sats / ccs format in item details
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzyis committed Jan 5, 2025
1 parent 29c31e3 commit cfd1a69
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions components/item-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,20 +252,14 @@ function InfoDropdownItem ({ item }) {
<div>{item.createdAt}</div>
<div>cost</div>
<div>{item.cost}</div>
<div>sats</div>
<div>{item.sats - item.credits}</div>
<div>CCs</div>
<div>{item.credits}</div>
<div>comment sats</div>
<div>{item.commentSats - item.commentCredits}</div>
<div>comment CCs</div>
<div>{item.commentCredits}</div>
<div>stacked</div>
<div>{item.sats - item.credits} sats / {item.credits} ccs</div>
<div>stacked (comments)</div>
<div>{item.commentSats - item.commentCredits} sats / {item.commentCredits} ccs</div>
{me && (
<>
<div>sats from me</div>
<div>{item.meSats - item.meCredits}</div>
<div>CCs from me</div>
<div>{item.meCredits}</div>
<div>from me</div>
<div>{item.meSats - item.meCredits} sats / {item.meCredits} ccs</div>
<div>downsats from me</div>
<div>{item.meDontLikeSats}</div>
</>
Expand Down

0 comments on commit cfd1a69

Please sign in to comment.