mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user