fix: Wrap ternary branch in fragment to fix JSX syntax error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
AutonetSellCar Deploy
2026-02-18 09:22:49 +09:00
parent 641bd37f64
commit 03f277c6f1

View File

@@ -351,6 +351,7 @@ export default function AdminVehicleRequestsPage() {
No vehicles added yet
</div>
) : (
<>
<div className="space-y-2 max-h-[300px] overflow-y-auto">
{selectedRequest.approved_vehicles.map((vehicle) => {
const hasPdf = vehicle.car_data.has_pdf === true;
@@ -472,6 +473,7 @@ export default function AdminVehicleRequestsPage() {
</div>
</div>
)}
</>
)}
</div>
</div>