fix: CollapseHistory: format profit display + fix package.json name for stable lock file (#245)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-02-24 23:43:15 +00:00
parent 4b10dc91c3
commit ca68c339ed
3 changed files with 7 additions and 3 deletions

6
package-lock.json generated
View file

@ -1,9 +1,10 @@
{
"name": "harb-worktree-243",
"name": "harb",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "harb",
"workspaces": [
"packages/*",
"landing",
@ -21,7 +22,8 @@
"dependencies": {
"@apollo/client": "^3.9.10",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6"
"graphql-tag": "^2.12.6",
"viem": "^2.22.13"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",

View file

@ -1,4 +1,5 @@
{
"name": "harb",
"devDependencies": {
"@playwright/test": "^1.55.1",
"playwright-mcp": "^0.0.12",

View file

@ -24,7 +24,8 @@
><span class="caption"> $KRK</span>
</div>
<div>
<span class="subheader2">Profit</span><span class="number-small">{{ profit }}</span
<span class="subheader2">Profit</span
><span class="number-small">{{ typeof profit === 'string' ? profit : compactNumber(profit) }}</span
><span v-if="profit !== '—'" class="caption"> $KRK</span>
</div>
<template v-if="isSnatched">