mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 13:15:24 +02:00
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:
co-authored by
Qwen-Coder
parent
19f1137a30
commit
3c199715b9
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user