Fix TypeScript Set iteration error

This commit is contained in:
AutonetSellCar Deploy
2025-12-31 17:14:47 +09:00
parent bd6c05cc83
commit be7f12bbf3

View File

@@ -326,8 +326,8 @@ export default function CarsAdminPage() {
const newBannerIds = localBannerSelections;
console.log('=== Banner Update Debug ===');
console.log('Current banner IDs (from DB):', [...currentBannerIds]);
console.log('New banner IDs (user selection):', [...newBannerIds]);
console.log('Current banner IDs (from DB):', Array.from(currentBannerIds));
console.log('New banner IDs (user selection):', Array.from(newBannerIds));
// 추가할 배너
const toAdd: number[] = [];