diff --git a/src/components/header.js b/src/components/header.js index 5caf28e..8994408 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -66,14 +66,6 @@ const Header = () => { Proposal Guidelines - - - Student Registration - - diff --git a/src/components/rsvpForm.js b/src/components/rsvpForm.js index 2393e42..9e8f7e3 100644 --- a/src/components/rsvpForm.js +++ b/src/components/rsvpForm.js @@ -18,7 +18,7 @@ class RSVPForm extends React.Component { phone: '', response: true, details: '', - loading: false, + loading: true, successText: '', errorText: '' } @@ -96,7 +96,7 @@ class RSVPForm extends React.Component { : this.state.successText !== '' ?
Thank you! Please inform your friends too about submitting their proposal.
- :
Submitting. Please Wait
+ :
Registration are closed.
} { this.state.errorText !== '' ? diff --git a/src/pages/registrations/student-registration.js b/src/pages/registrations/student-registration.js index b122f42..a5c90dc 100644 --- a/src/pages/registrations/student-registration.js +++ b/src/pages/registrations/student-registration.js @@ -15,7 +15,7 @@ const ProjectRegistration = props => { const siteTitle = data.site.siteMetadata.title; const [errorText, setErrorText] = useState(""); const [successText, setSuccessText] = useState(""); - const [loading, setLoading] = useState(false); + const [loading, setLoading] = useState(true); const { handleInputChange, inputs } = useSubmitForm(); @@ -228,7 +228,7 @@ const ProjectRegistration = props => { back to soon, meanwhile dont forget to bring your friends as well! ) : ( -
Submitting. Please Wait
+
Registrations are closed.
)} );