diff --git a/vike-solid/components/Head/Head-client.ts b/vike-solid/components/Head/Head-client.ts index c715ff5..0e27bfd 100644 --- a/vike-solid/components/Head/Head-client.ts +++ b/vike-solid/components/Head/Head-client.ts @@ -2,9 +2,6 @@ export { Head }; // Same as ./Head-server.ts but importing useConfig-client.js -import { useConfig } from "../../hooks/useConfig/useConfig-client.js"; -import type { JSX } from "solid-js/jsx-runtime"; - /** * Add arbitrary `` tags. * @@ -12,8 +9,6 @@ import type { JSX } from "solid-js/jsx-runtime"; * * https://vike.dev/Head */ -function Head({ children }: { children: JSX.Element }): null { - const config = useConfig(); - config({ Head: children }); +function Head(): null { return null; }