Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
sexyoung committed Feb 19, 2024
2 parents 6bace5d + 55cf2a4 commit 91e15f0
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/routes/($lang)._index.tsx
Expand Up @@ -52,6 +52,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "home",
};

export default function () {
let { t } = useTranslation("home");
return (
Expand Down
4 changes: 4 additions & 0 deletions app/routes/($lang).assessment.tsx
Expand Up @@ -35,6 +35,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "assessment",
};

export default function () {
let { t } = useTranslation("assessment");
return (
Expand Down
4 changes: 4 additions & 0 deletions app/routes/($lang).choice.tsx
Expand Up @@ -44,6 +44,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "choice",
};

export default function () {
let { t } = useTranslation("choice");
return (
Expand Down
4 changes: 4 additions & 0 deletions app/routes/($lang).contact.tsx
Expand Up @@ -33,6 +33,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "contact",
};

export default function () {
let { t } = useTranslation("contact");
return (
Expand Down
4 changes: 4 additions & 0 deletions app/routes/($lang).curing.tsx
Expand Up @@ -34,6 +34,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "curing",
};

export default function () {
let { t, ready } = useTranslation("curing");
const curingData = Array.from(t("data", { returnObjects: true }) as any);
Expand Down
4 changes: 4 additions & 0 deletions app/routes/($lang).plan.tsx
Expand Up @@ -32,6 +32,10 @@ export const meta: V2_MetaFunction = (x) => {
];
};

export const handle = {
i18n: "plan",
};

export default function () {
let { t } = useTranslation("plan");
return (
Expand Down

0 comments on commit 91e15f0

Please sign in to comment.