refactor(files): the provider marks and the map that keys them live apart

The marks module exports components only, so fast refresh keeps it whole and react-refresh no longer counts it; the map by provider id moves to documentProviderIconMap.ts, which every caller now imports.
This commit is contained in:
Maurice
2026-10-25 11:24:36 +01:00
parent dcfbf89234
commit c33eb5b593
11 changed files with 36 additions and 24 deletions
@@ -13,7 +13,7 @@
import { describe, it, expect } from 'vitest'
import { DOCUMENT_PROVIDER_IDS } from '@trek/shared'
import { render } from '../../../tests/helpers/render'
import { DOCUMENT_PROVIDER_ICONS } from './DocumentProviderIcons'
import { DOCUMENT_PROVIDER_ICONS } from './documentProviderIconMap'
import TrekIcon from './TrekIcon'
const marks = Object.entries(DOCUMENT_PROVIDER_ICONS)