Skip to content

Commit

Permalink
fix(vth): undefined errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjong committed Sep 1, 2023
1 parent 29a78ab commit 4d38c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/vth-frontend/src/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const Home = async ({ params: { locale } }: { params: any }) => {
variables: { locale: locale },
});

const { title, content } = data.homepage.data.attributes;
const themas = data.themas.data;
const { title, content } = data?.homepage?.data?.attributes;
const themas = data?.themas?.data;

return (
<>
Expand Down

0 comments on commit 4d38c95

Please sign in to comment.