diff --git a/src/components/EmailContactForm.jsx b/src/components/EmailContactForm.jsx index d7812c5..2af32a6 100644 --- a/src/components/EmailContactForm.jsx +++ b/src/components/EmailContactForm.jsx @@ -4,7 +4,7 @@ import React, { useRef } from "react"; import emailjs from "@emailjs/browser"; import styled from "styled-components"; -const Contact = () => { +const ContactForm = () => { const form = useRef(); @@ -45,7 +45,7 @@ const Contact = () => { ); }; -export default Contact; +export default ContactForm; // Styles const StyledContactForm = styled.div` diff --git a/src/pages/Contact.js b/src/pages/Contact.js index 4ba3968..b18a679 100644 --- a/src/pages/Contact.js +++ b/src/pages/Contact.js @@ -1,6 +1,6 @@ // import required component -import Contact from "./components/EmailContactForm" +import ContactForm from "../components/EmailContactForm" export function Contact ( props ) { - return (

{props.greeting}

) + } \ No newline at end of file