@@ -717,11 +724,11 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
promptCompiler()} title="Add a custom compiler with URL">
showCompilerLicense()} title="See compiler license">
-
- { (!showFilePathInput && state.useFileConfiguration) && {} : async()=>{ await openFile()}}
+ onClick={configFilePath === '' ? () => { } : async () => { await openFile() }}
className="py-2 remixui_compilerConfigPath"
- >{configFilePath === '' ? 'No file selected.' : configFilePath} }
- { (!showFilePathInput && !state.useFileConfiguration) && {configFilePath} }
+ >{configFilePath === '' ? 'No file selected.' : configFilePath}}
+ {(!showFilePathInput && !state.useFileConfiguration) && {configFilePath}}
{
}
}}
/>
- { !showFilePathInput && }
+ {!showFilePathInput && }
-
+ {compilerLoadedVersion ?
: ''}
-
+
+
@@ -893,11 +900,11 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
/**
- * @title ContractName
- * @dev ContractDescription
- * @custom:dev-run-script file_path
- */
- contract ContractName {'{}'}
+ * @title ContractName
+ * @dev ContractDescription
+ * @custom:dev-run-script file_path
+ */
+ contract ContractName {'{}'}
Click to know more
@@ -912,7 +919,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
-
+
)