mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 12:25:22 +02:00
debug: Add diagnostics for Buy Box warning issue
This commit is contained in:
@@ -19,6 +19,11 @@ export const BuyBoxWarningBadge: React.FC<BuyBoxWarningBadgeProps> = ({ asin, bu
|
||||
if (!buyBoxLostMap || !asin) return null;
|
||||
|
||||
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