From 9f6045461c56cd9f2e9533de557128aab5c4228d Mon Sep 17 00:00:00 2001 From: codytseng Date: Sun, 4 Jan 2026 22:06:19 +0800 Subject: [PATCH] feat: remove suspicious account badge --- src/components/TrustScoreBadge/index.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/components/TrustScoreBadge/index.tsx b/src/components/TrustScoreBadge/index.tsx index b627dc0..d0b5c76 100644 --- a/src/components/TrustScoreBadge/index.tsx +++ b/src/components/TrustScoreBadge/index.tsx @@ -2,7 +2,7 @@ import { cn } from '@/lib/utils' import { useNostr } from '@/providers/NostrProvider' import { useUserTrust } from '@/providers/UserTrustProvider' import fayan from '@/services/fayan.service' -import { AlertTriangle, ShieldAlert } from 'lucide-react' +import { ShieldAlert } from 'lucide-react' import { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -55,7 +55,6 @@ export default function TrustScoreBadge({ if (loading || percentile === null) return null // percentile < 40: likely spam (red alert) - // percentile < 60: suspicious (yellow warning) if (percentile < 40) { return (
- -
- ) - } - return null }