diff --git a/pages/volunteer.tsx b/pages/volunteer.tsx index e307be4..8901e3f 100644 --- a/pages/volunteer.tsx +++ b/pages/volunteer.tsx @@ -15,7 +15,7 @@ const { t } = i18n; export const getServerSideProps = compose(cache(), errorLogger, async () => { const contributors: Contributor[] = // @ts-ignore - await new repositoryStore('kaiyuanshe').getAllContributors(); + await repositoryStore.getAllContributors(); return { props: { contributors } }; });