fixes as per @LianaHus comments

pull/4182/head
Joseph Izang 11 months ago
parent 6581f42df9
commit 1045f8f66e
  1. 2
      apps/vyper/src/app/utils/compiler.tsx
  2. 1
      libs/remix-ui/solidity-compile-details/src/lib/solidity-compile-details.tsx
  3. 2
      libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx
  4. 1
      libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx

@ -37,7 +37,7 @@ export function normalizeContractPath(contractPath: string): string[] {
const filename = paths[paths.length - 1].split('.')[0]
let folders = ''
for (let i = 0; i < paths.length - 1; i++) {
if(i !== paths.length -1) {
if (i !== paths.length -1) {
folders += `${paths[i]}/`
}
}

@ -18,7 +18,6 @@ export interface RemixUiCompileDetailsProps {
const _paq = (window._paq = window._paq || [])
export function RemixUiCompileDetails({ plugin, contractProperties, selectedContract, saveAs, help, insertValue }: RemixUiCompileDetailsProps) {
console.log(contractProperties)
return (
<>

@ -310,7 +310,7 @@ export const ContractSelection = (props: ContractSelectionProps) => {
</span>
</CustomTooltip>
</button>
{console.log(payload)}
<button
data-id="compilation-details"
className="btn btn-secondary btn-block"

@ -24,7 +24,6 @@ export interface VyperCompileProps {
themeStyle?: any
}
export default function VyperCompile({result, theme, themeStyle}: VyperCompileProps) {
const [active, setActive] = useState<keyof VyperCompilationResult>('abi')

Loading…
Cancel
Save