瀏覽代碼

refactor: typescript

master
ntasicc 3 年之前
父節點
當前提交
cb3c64ab3d
共有 1 個文件被更改,包括 0 次插入17 次删除
  1. 0
    17
      pages/contact/index.ts

+ 0
- 17
pages/contact/index.ts 查看文件

@@ -1,17 +0,0 @@
import { GetStaticProps, NextPage } from 'next';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import ContactForm from '../../components/forms/contact/ContactForm';

const ContactPage: NextPage = () => {
return <ContactForm />;
};

export const getStaticProps: GetStaticProps = async ({ locale }: any) => {
return {
props: {
...(await serverSideTranslations(locale, ['forms', 'contact', 'common'])),
},
};
};

export default ContactPage;

Loading…
取消
儲存