Skip to content

Commit 4dac681

Browse files
ioedeveloperAniket-Engg
authored andcommitted
Fix open config file reload
1 parent 235f039 commit 4dac681

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,11 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
10271027
</label>
10281028
</div>
10291029
<RenderIf condition={state.useFileConfiguration}>
1030-
<a data-id="view-solidity-config" className="cursor-pointer text-decoration-none ms-4" href='#' onClick={handleConfigFileClick}>
1030+
<a data-id="view-solidity-config" className="cursor-pointer text-decoration-none ms-4" href='#' onClick={(e) => {
1031+
e.preventDefault()
1032+
e.stopPropagation()
1033+
handleConfigFileClick()
1034+
}}>
10311035
<i className="text-secondary mt-1 pe-1 far fa-edit"></i> Update config remix.config.json
10321036
</a>
10331037
</RenderIf>

0 commit comments

Comments
 (0)