fixing error message in vyper plugin

vyper-error-fix
Joseph Izang 2 years ago
parent b1fd33053b
commit 11c549e083
  1. 4
      apps/vyper/src/app/app.tsx

@ -38,7 +38,7 @@ const App: React.FC = () => {
async function start() { async function start() {
try { try {
await remixClient.loaded() await remixClient.loaded()
remixClient.onFileChange(name => setContract(name)) remixClient.onFileChange(name => setContract(name))
remixClient.onNoFileSelected(() => setContract('')) remixClient.onNoFileSelected(() => setContract(''))
} catch (err) { } catch (err) {
console.log(err) console.log(err)
@ -111,7 +111,7 @@ const App: React.FC = () => {
/> />
</div> </div>
<article id="result"> <article id="result">
<VyperResult output={contract ? output[contract] : undefined} /> {/* <VyperResult output={contract ? output[contract] : undefined} /> */}
</article> </article>
</section> </section>
</main> </main>

Loading…
Cancel
Save