Refactoring components

This commit is contained in:
Hazem Krimi
2023-03-19 18:21:12 +01:00
parent b82f90db48
commit 3a51b7fdb2
26 changed files with 171 additions and 158 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import React, { FC, useState } from 'react';
import { useState } from 'react';
import { useForm, ValidationError } from '@formspree/react';
import Head from 'next/head';
import { Wrapper } from '../styles/contact';
import Input from '../components/Input';
import MDXButton from '../components/MDXButton';
const About: FC = () => {
const About = () => {
const [form, setForm] = useState<{ name: string; email: string; message: string }>({
name: '',
email: '',