diff --git a/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx index 6d98009400..463d79dd85 100644 --- a/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx +++ b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx @@ -51,7 +51,7 @@ export class VyperCompilationDetailsPlugin extends ViewPlugin { async showDetails(sentPayload: any) { const contractName = Object.entries(sentPayload).find(([key, value]) => key ) await this.call('tabs', 'focus', 'vyperCompilationDetails') - this.profile.displayName = `${contractName}` + this.profile.displayName = `${contractName[0]}` this.payload = sentPayload const active = await this.call('theme', 'currentTheme') if (active.quality === 'dark') { 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 9399a747ff..9123c606b0 100644 --- a/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx +++ b/libs/remix-ui/vyper-compile-details/src/lib/vyperCompile.tsx @@ -58,18 +58,22 @@ export default function VyperCompile({result, theme, themeStyle}: VyperCompilePr
(content.eventKey !== 'abi' ? content.tabPayload : JSON.stringify(result['abi']))}> - {content.eventKey === 'abi' ? (
- 1 ? + /> : null}
) : (