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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user