aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/cv.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/cv.tsx')
-rw-r--r--src/pages/cv.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx
index 5b913f3..150e29a 100644
--- a/src/pages/cv.tsx
+++ b/src/pages/cv.tsx
@@ -1,6 +1,6 @@
import Layout from '@components/Layouts/Layout';
import { seo } from '@config/seo';
-import { getCVPage } from '@services/graphql/pages';
+import { getPageByUri } from '@services/graphql/queries';
import { NextPageWithLayout } from '@ts/types/app';
import { PageProps } from '@ts/types/pages';
import { loadTranslation } from '@utils/helpers/i18n';
@@ -35,7 +35,7 @@ export const getStaticProps: GetStaticProps = async (
context.locale!,
process.env.NODE_ENV === 'production'
);
- const page = await getCVPage();
+ const page = await getPageByUri('/cv/');
return {
props: {