Fix: Resolve type incompatibility in company person_type

This commit is contained in:
gpt-engineer-app[bot]
2025-10-16 13:50:25 +00:00
parent 4efdeaa104
commit 95679c1067
6 changed files with 21 additions and 17 deletions

View File

@@ -375,9 +375,9 @@ export default function ManufacturerDetail() {
name: manufacturer.name,
slug: manufacturer.slug,
description: manufacturer.description,
company_type: 'manufacturer',
person_type: manufacturer.person_type,
website_url: manufacturer.website_url,
company_type: 'manufacturer',
person_type: (manufacturer.person_type || 'company') as 'company' | 'individual' | 'firm' | 'organization',
website_url: manufacturer.website_url,
founded_year: manufacturer.founded_year,
headquarters_location: manufacturer.headquarters_location,
banner_image_url: manufacturer.banner_image_url,