fix: remove debug code from BuyBoxWarningBadge causing runtime error

- Removed debug console.log that was accessing data before null check
- Fixed colSpan in TopMovers empty state message (7 -> 10 columns)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Christian Vidal Wolf
2026-03-16 15:09:07 +01:00
co-authored by Qwen-Coder
parent 19f1137a30
commit 3c199715b9
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -20,10 +20,6 @@ export const BuyBoxWarningBadge: React.FC<BuyBoxWarningBadgeProps> = memo(({ asi
const data = buyBoxLostMap.get(asin.toUpperCase());
if (asin.toUpperCase() === 'B0D3874WSD') {
console.log(`[BuyBoxBadge Debug] ASIN: ${asin}, Found in map: ${!!data}, Countries: ${data?.countries.join(', ') || 'none'}`);
}
if (!data || data.countries.length === 0) return null;
return (