fix(ui): remove unused threshold param from BlockStamp

This commit is contained in:
Willie
2026-02-23 04:18:01 +08:00
parent d2b085a20b
commit ca60592447
+2 -2
View File
@@ -558,7 +558,7 @@ function SkillAuditCard({ result, index }: { result: AuditResult; index: number
{/* Right: block stamp + risk meter */}
<div className="flex items-center gap-3 shrink-0">
{/* Block status stamp */}
<BlockStamp isBlocked={result.isBlocked} threshold={result.threshold} />
<BlockStamp isBlocked={result.isBlocked} />
{/* Risk indicator */}
<RiskMeter riskLabel={result.riskLabel} riskScore={result.riskScore} />
</div>
@@ -579,7 +579,7 @@ function SkillAuditCard({ result, index }: { result: AuditResult; index: number
* BlockStamp — alarming red stamp or reassuring green check
* ────────────────────────────────────────────────────────────────────── */
function BlockStamp({ isBlocked, threshold }: { isBlocked: boolean; threshold: string }) {
function BlockStamp({ isBlocked }: { isBlocked: boolean }) {
if (isBlocked) {
return (
<div