Fix Conflicts with "Contact"

This commit is contained in:
Ray 2024-01-14 13:55:23 +00:00 committed by GitHub
parent 40a9df4c97
commit e3b3571d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -1,6 +1,6 @@
// import required component
import Contact from "./components/EmailContactForm"
import ContactForm from "../components/EmailContactForm"
export function Contact ( props ) {
return ( <h1>{props.greeting} </h1>)
<Contact />
}