mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 23:24:22 +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
|
return faCirclePlay
|
||||||
case 'image':
|
case 'image':
|
||||||
return faCamera
|
return faCamera
|
||||||
case 'document':
|
case 'article':
|
||||||
return faFileLines
|
return faFileLines
|
||||||
default:
|
default:
|
||||||
return faGlobe
|
return faGlobe
|
||||||
|
|||||||
Reference in New Issue
Block a user