Skip to content

Commit

Permalink
EIP 191
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanNero committed Jan 18, 2024
1 parent 77387fe commit 13ad08f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,7 @@ const InputForm: React.FC<DataDisplayProps> = ({ displayError, returnData, setRe

// Checks to see if form submit button should be disabled
const checkDisabled = () => {
if (formData.function == "sign") {
if (formData.message == "") {
return true;
}
} else if (formData.function == "hash") {
if (formData.function == "hash") {
if (formData.message == "" || formData.amount == "") {
return true;
}
Expand Down

0 comments on commit 13ad08f

Please sign in to comment.