mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Put formspree api key in .env
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ const About: FC = () => {
|
||||
email: '',
|
||||
message: ''
|
||||
});
|
||||
const [state, Submit] = useForm('xoqpgyge');
|
||||
const [state, Submit] = useForm(`${process.env.NEXT_PUBLIC_FORMSPREE_KEY}`);
|
||||
const [submitted, setSubmitted] = useState<boolean>(false);
|
||||
|
||||
const handleChange = (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
|
||||
|
||||
Reference in New Issue
Block a user