Move markup to after contract selector

pull/3321/head^2
Joseph Izang 2 years ago committed by Aniket
parent be30184c7b
commit 6021284454
  1. 12
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -734,17 +734,6 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
setToggleExpander(!toggleExpander)
}
const generateUML = async () => {
try {
const currentFile = api.currentFile
const ast = parser.parse(api.getCompilationResult().source.sources[currentFile].content)
const svgResult = vizRenderStringSync(convertUmlClasses2Dot(convertAST2UmlClasses(ast, currentFile)))
console.log({ svgResult })
} catch (error) {
console.log({ error })
}
}
return (
<section>
@ -1026,7 +1015,6 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
</button>
</CopyToClipboard>
</div>
<button onClick={generateUML} className="btn btn-primary btn-block mt-2"> Generate UML Diagram</button>
</div>
</article>
</section>

Loading…
Cancel
Save