Skip to content

Commit 6263ab7

Browse files
committed
refactor(devtools): rename SocialPreviewSection to SocialPreviewsSection
This commit updates the naming of the SocialPreviewSection component to SocialPreviewsSection for consistency and clarity in the SEO tab of the devtools package. The change improves code readability and aligns with the pluralization of the component's purpose.
1 parent 0aef93e commit 6263ab7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { MainPanel } from '@tanstack/devtools-ui'
2-
import { SocialPreviewSection } from './social-preview'
2+
import { SocialPreviewsSection } from './social-preview'
33

44
export const SeoTab = () => {
55
return (
66
<MainPanel withPadding>
7-
<SocialPreviewSection />
7+
<SocialPreviewsSection />
88
</MainPanel>
99
)
1010
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function SocialPreview(props: {
146146
)
147147
}
148148

149-
export function SocialPreviewSection() {
149+
export function SocialPreviewsSection() {
150150
const [reports, setReports] = createSignal<Array<SocialReport>>(analyzeHead())
151151
const styles = useStyles()
152152

0 commit comments

Comments
 (0)