Skip to content

Commit 0f4f1f9

Browse files
committed
refactor(devtools): streamline imports in links-preview component
This commit refactors the links-preview component by consolidating import statements for better clarity and organization. The countBySeverity function and SeoSectionSummary type are now imported separately, enhancing code readability and maintainability.
1 parent 8ff18e7 commit 0f4f1f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/devtools/src/tabs/seo-tab/links-preview.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { For, Show, createSignal } from 'solid-js'
22
import { Section, SectionDescription } from '@tanstack/devtools-ui'
33
import { useStyles } from '../../styles/use-styles'
4+
import { countBySeverity } from './seo-section-summary'
45
import { pickSeverityClass } from './seo-severity'
6+
import type { SeoSectionSummary } from './seo-section-summary'
57
import type { SeoSeverity } from './seo-severity'
6-
import { countBySeverity, type SeoSectionSummary } from './seo-section-summary'
78

89
type LinkKind = 'internal' | 'external' | 'non-web' | 'invalid'
910

0 commit comments

Comments
 (0)