浏览代码

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;

正在加载...
取消
保存