From 88a5c8c72c1131307a852a89ac4d52fdffcb9c40 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Wed, 7 Aug 2024 16:38:12 +0200 Subject: [PATCH] Revert "also doesn't work over useConfig()" This reverts commit 945422b2fbeaf7e03808a1205c5520ea04cee3a9. --- examples/full/pages/images/+Page.tsx | 32 ++++++++++++---------------- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/examples/full/pages/images/+Page.tsx b/examples/full/pages/images/+Page.tsx index 85e3fea..d7cd5cc 100644 --- a/examples/full/pages/images/+Page.tsx +++ b/examples/full/pages/images/+Page.tsx @@ -1,9 +1,9 @@ export { Page }; +import { Head } from "vike-solid/Head"; import logoOld from "../../assets/logo.svg"; import logoNew from "../../assets/logo-new.svg"; import { Counter } from "../../components/Counter"; -import { useConfig } from "vike-solid/useConfig"; function Page() { return ( @@ -26,26 +26,22 @@ function Page() { } function Image({ src, author }: { src: string; author: string }) { - const config = useConfig(); - - config({ - Head: ( - - ), - }); return ( <> + + + ); }