File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1818 * @module config/metadataTypeRegistry
1919 */
2020
21- import type { ComponentType } from 'react' ;
22-
2321// ---------------------------------------------------------------------------
2422// Types
2523// ---------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import {
3333} from 'lucide-react' ;
3434import { useAdapter } from '../../context/AdapterProvider' ;
3535import { useMetadata } from '../../context/MetadataProvider' ;
36- import { getHubMetadataTypes , type MetadataTypeConfig } from '../../config/metadataTypeRegistry' ;
36+ import { getHubMetadataTypes } from '../../config/metadataTypeRegistry' ;
3737
3838interface HubCard {
3939 title : string ;
@@ -118,7 +118,7 @@ export function SystemHubPage() {
118118 useEffect ( ( ) => { fetchCounts ( ) ; } , [ fetchCounts ] ) ;
119119
120120 // Build metadata-type cards dynamically from registry
121- const metadataTypeCards : HubCard [ ] = getHubMetadataTypes ( ) . map ( ( cfg : MetadataTypeConfig ) => {
121+ const metadataTypeCards : HubCard [ ] = getHubMetadataTypes ( ) . map ( ( cfg ) => {
122122 const href = cfg . hasCustomPage && cfg . customRoute
123123 ? `${ basePath } ${ cfg . customRoute } `
124124 : `${ basePath } /system/metadata/${ cfg . type } ` ;
You can’t perform that action at this time.
0 commit comments