Skip to content

Commit

Permalink
Disabled Submit button after sending a request
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperBlue committed Dec 12, 2023
1 parent 2060619 commit 7a9fa1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Contact/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const ContactInputTextArea = ({label, inputKey, register, required = false, erro

const SubmitButton = ({label, onClick, disabled}) => {
return (
<Button className={styles.submitButton} onClick={onClick} disabled={true}>
<Button className={styles.submitButton} onClick={onClick} disabled={disabled}>
<span
style={{
paddingLeft : 50,
Expand Down

0 comments on commit 7a9fa1b

Please sign in to comment.