Преглед на файлове

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…
Отказ
Запис