Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dh4x committed Jan 10, 2025
2 parents 9f41761 + 9237cbf commit 8abdaca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageContent from "~/components/PageContent";
import { fetchPage } from "~/services/cms/index.server";

export const loader = async () => {
return json(await fetchPage("/"));
const { pageMeta, ...props } = await fetchPage("/");
return json({ ...props, meta: pageMeta });
};

export default function Index() {
Expand Down

0 comments on commit 8abdaca

Please sign in to comment.