Skip to content

Commit cf234dd

Browse files
committed
refactor(devtools-seo): clean up SeoDevtoolsCore export and remove unused functions
1 parent 4e6a3a0 commit cf234dd

File tree

5 files changed

+3
-185
lines changed

5 files changed

+3
-185
lines changed

packages/devtools-seo/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"build": "vite build"
5555
},
5656
"dependencies": {
57-
"@tanstack/devtools": "workspace:*",
5857
"@tanstack/devtools-ui": "workspace:*",
5958
"@tanstack/devtools-utils": "workspace:*",
6059
"goober": "^2.1.16",

packages/devtools-seo/src/core.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import { constructCoreClass } from '@tanstack/devtools-utils/solid'
44

5-
const [SeoDevtoolsCore, SeoDevtoolsCoreNoOp] = constructCoreClass(
6-
() => import('./solid-panel'),
7-
)
5+
const [SeoDevtoolsCore] = constructCoreClass(() => import('./solid-panel'))
86

9-
export { SeoDevtoolsCore, SeoDevtoolsCoreNoOp }
7+
export { SeoDevtoolsCore }

packages/devtools-seo/src/use-seo-styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { tokens } from './tokens'
55

66
import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui'
77

8-
export function createSeoStyles(theme: TanStackDevtoolsTheme) {
8+
function createSeoStyles(theme: TanStackDevtoolsTheme) {
99
const { colors, font } = tokens
1010
const { fontFamily } = font
1111
const css = goober.css

packages/devtools/src/hooks/use-head-changes.ts

Lines changed: 0 additions & 110 deletions
This file was deleted.

packages/devtools/src/hooks/use-location-changes.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)