Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix grammatical issue with web UI (byte code -> bytecode) #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/pages/ContractPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function isValidByteCode(value) {
}

function validateByteCode(value) {
return (isValidByteCode(value) || "Invalid byte code");
return (isValidByteCode(value) || "Invalid bytecode");
}

function isValidABI(value) {
Expand Down Expand Up @@ -185,14 +185,14 @@ function DeployContractForm(props) {
{errors.abi && <div className="InputError">{errors.abi.message}</div>}
</div>

{/*Byte Code Section*/}
{/*Bytecode Section*/}
<div className="FormColumn">
<div className="FormSectionTitle">Byte Code</div>
<div className="FormSectionTitle">Bytecode</div>
<textarea className="RoundedInput"
placeholder="Paste byte code"
placeholder="Paste bytecode"
name="byteCode"
ref={register({
required: "Contract byte code is required.",
required: "Contract bytecode is required.",
validate: validateByteCode
})}
/>
Expand Down