From e4f05774062e63c08c29e062ba12fd53740cef82 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Sat, 9 Dec 2023 02:36:12 +0100 Subject: [PATCH] cleanup --- apps/vyper/src/app/components/CompilerButton.tsx | 2 +- apps/vyper/src/app/utils/compiler.tsx | 2 +- libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/vyper/src/app/components/CompilerButton.tsx b/apps/vyper/src/app/components/CompilerButton.tsx index dbd99b1462..d91aa49a2c 100644 --- a/apps/vyper/src/app/components/CompilerButton.tsx +++ b/apps/vyper/src/app/components/CompilerButton.tsx @@ -1,5 +1,5 @@ import React, { Fragment, useState } from 'react' -import {isVyper, compile, toStandardOutput, VyperCompilationOutput, isCompilationError, remixClient, normalizeContractPath} from '../utils' +import {isVyper, compile, toStandardOutput, isCompilationError, remixClient, normalizeContractPath} from '../utils' import Button from 'react-bootstrap/Button' import _ from 'lodash' import { runtime } from 'webpack' diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index bd86bbf3bf..c97fdf57dd 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -1,4 +1,4 @@ -import {CompilationResult, ABIDescription} from '@remixproject/plugin-api' +import { ABIDescription} from '@remixproject/plugin-api' import axios from 'axios' export interface Contract { diff --git a/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx b/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx index a3a939a8d8..82e1e10ee4 100644 --- a/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx +++ b/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx @@ -1,7 +1,6 @@ import { CopyToClipboard } from '@remix-ui/clipboard' import JSONTree, { ThemeKeys, ThemeObject } from '@microlink/react-json-view' import React, { useState } from 'react' -import { useIntl } from 'react-intl' import Tabs from 'react-bootstrap/Tabs' import Tab from 'react-bootstrap/Tab' import Button from 'react-bootstrap/Button' @@ -27,10 +26,8 @@ export interface VyperCompileProps { export default function VyperCompile({result, theme, themeStyle}: VyperCompileProps) { - const intl = useIntl() const [active, setActive] = useState('abi') - console.log(theme, themeStyle) const tabContent = [ { tabHeadingText: 'ABI',