ソースを参照

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;

読み込み中…
キャンセル
保存