We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ceef94 commit f74b2dcCopy full SHA for f74b2dc
packages/vike-solid/hooks/useConfig/useConfig-client.ts
@@ -12,12 +12,12 @@ function useConfig(): (config: ConfigFromHook) => void {
12
let pageContext = getPageContext() as PageContext & PageContextInternal;
13
14
// Component
15
- if (!pageContext) pageContext = usePageContext() as PageContext & PageContextInternal;;
+ if (!pageContext) pageContext = usePageContext() as PageContext & PageContextInternal;
16
return (config: ConfigFromHook) => {
17
if (!("_headAlreadySet" in pageContext)) {
18
setPageContextConfigFromHook(config, pageContext);
19
} else {
20
- if (typeof window !== 'undefined') applyHead(config);
+ if (typeof window !== "undefined") applyHead(config);
21
}
22
};
23
0 commit comments