Display only filename on compile button

pull/1407/head
ioedeveloper 3 years ago
parent 09d5cab3a7
commit 30bebc69e1
  1. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -579,7 +579,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
<span className="text-break">
<i ref={warningIcon} title="Compilation Slow" style={{ visibility: 'hidden' }} className="remixui_warnCompilationSlow fas fa-exclamation-triangle" aria-hidden="true"></i>
{ warningIcon.current && warningIcon.current.style.visibility === 'hidden' && <i ref={compileIcon} className="fas fa-sync remixui_icon" aria-hidden="true"></i> }
Compile { state.compiledFileName || '<no file selected>' }
Compile { typeof state.compiledFileName === 'string' ? helper.extractNameFromKey(state.compiledFileName) || '<no file selected>' : '<no file selected>' }
</span>
</button>
</header>

Loading…
Cancel
Save