Skip to content

Commit

Permalink
fix error in getStaticProps
Browse files Browse the repository at this point in the history
  • Loading branch information
ncukondo committed Mar 5, 2024
1 parent 9def128 commit 9d2b614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/movies/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const getStaticProps: GetStaticProps<PageProps> = async ({ locale }) => {
const constributors =
locale === "ja"
? (await import("json_in_repo/contributors/ja.json")).default
: await import("json_in_repo/contributors/en.json");
: (await import("json_in_repo/contributors/en.json")).default;
return {
props: { data, constributors },
};
Expand Down

0 comments on commit 9d2b614

Please sign in to comment.