We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e11116 commit 514c5c4Copy full SHA for 514c5c4
src/ui/use-project.ts
@@ -1,4 +1,4 @@
1
-import { createEffect, createSignal, type Accessor } from "solid-js";
+import { createRenderEffect, createSignal, type Accessor } from "solid-js";
2
import { useMatch } from "@solidjs/router";
3
import { SUPPORTED_LOCALES } from "~/i18n/config";
4
import { useI18n } from "~/i18n/i18n-context";
@@ -19,7 +19,7 @@ export function useProjectTitle(): Accessor<string> {
19
const project = useProject();
20
const i18n = useI18n();
21
22
- createEffect(() => {
+ createRenderEffect(() => {
23
switch (project()) {
24
case "solid-start":
25
setTitle(i18n.t("meta.title.solid_start"));
0 commit comments