fix: correct TypeScript error in content type icon logic

- Change 'document' case to 'article' to match valid UrlType
- Fix TypeScript compilation error for invalid UrlType comparison
- Maintain proper type safety while preserving icon functionality
- All linting and type checks now passing
This commit is contained in:
Gigi
2025-10-25 01:57:57 +02:00
parent e920cf9477
commit a511b25b87

View File

@@ -66,7 +66,7 @@ export const CardView: React.FC<CardViewProps> = ({
return faCirclePlay
case 'image':
return faCamera
case 'document':
case 'article':
return faFileLines
default:
return faGlobe