pull/2620/head
yann300 2 years ago committed by Seth Samuel
parent a1b02f3756
commit 7c9916aebc
  1. 4
      apps/vyper/src/app/app.tsx
  2. 2
      apps/vyper/src/app/components/CompilerButton.tsx
  3. 6
      apps/vyper/src/app/components/VyperResult.tsx
  4. 1
      nx.json

@ -88,10 +88,10 @@ const App: React.FC = () => {
type="radio"
value={state.environment}
>
<ToggleButton data-id="remote-compiler" variant="secondary" name="remote" value="remote">
<ToggleButton variant="secondary" name="remote" value="remote">
Remote Compiler
</ToggleButton>
<ToggleButton data-id="local-compiler" variant="secondary" name="local" value="local">
<ToggleButton variant="secondary" name="local" value="local">
Local Compiler
</ToggleButton>
</ToggleButtonGroup>

@ -103,7 +103,7 @@ function CompilerButton({ contract, setOutput, compilerUrl }: Props) {
}
return (
<Button data-id="compile" onClick={compileContract} variant="primary">
<Button onClick={compileContract} variant="primary">
Compile {contract}
</Button>
)

@ -28,8 +28,8 @@ function VyperResult({ output }: VyperResultProps) {
<div id="result">
<p>No contract compiled yet.</p>
<Button data-id="add-repository" variant="info" onClick={() => remixClient.cloneVyperRepo()}>
Clone Vyper repository and play with the contract examples
<Button variant="info" onClick={() => remixClient.loadContract(Ballot)}>
Create Ballot.vy example
</Button>
</div>
)
@ -38,7 +38,7 @@ function VyperResult({ output }: VyperResultProps) {
return (
<div id="result" className="error">
<i className="fas fa-exclamation-circle text-danger"></i>
<pre data-id="error-message" className="alert alert-danger">{output.message}</pre>
<p className="alert alert-danger">{output.message}</p>
</div>)
}

@ -204,6 +204,7 @@
},
"etherscan": {
"tags": []
}
},
"targetDependencies": {

Loading…
Cancel
Save