Skip to content

Commit f211054

Browse files
committed
fix linting
1 parent 9fdd427 commit f211054

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

libs/remix-ui/run-tab/src/lib/actions/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const setupEvents = (plugin: RunTab) => {
156156
if (/.(.abi)$/.exec(currentFile)) dispatch(setLoadType('abi'))
157157
else if (/.(.sol)$/.exec(currentFile)) dispatch(setLoadType('sol'))
158158
else if (/.(.vy)$/.exec(currentFile)) dispatch(setLoadType('vyper'))
159-
else if (/.(.lex)$/.exec(currentFile)) dispatch(setLoadType('lexon'))
159+
else if (/.(.lex)$/.exec(currentFile)) dispatch(setLoadType('lexon'))
160160
else if (/.(.contract)$/.exec(currentFile)) dispatch(setLoadType('contract'))
161161
else dispatch(setLoadType('other'))
162162
dispatch(setCurrentFile(currentFile))

libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
177177
disabled: true,
178178
title:
179179
['sol', 'vyper', 'lexon', 'contract'].includes(loadType) ? (
180-
<FormattedMessage id="udapp.contractOptionsTitle3" />
181-
) : (
182-
<span className="text-start">
183-
<FormattedMessage id="udapp.contractOptionsTitle4" values={{ br: <br /> }} />
184-
</span>
185-
),
180+
<FormattedMessage id="udapp.contractOptionsTitle3" />
181+
) : (
182+
<span className="text-start">
183+
<FormattedMessage id="udapp.contractOptionsTitle4" values={{ br: <br /> }} />
184+
</span>
185+
),
186186
})
187187
}
188188
}

libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export function ContractGUI(props: ContractGUIProps) {
227227

228228
const handleActionClick = async () => {
229229
props.getVersion()
230-
if (props.runTabState.selectExEnv.toLowerCase().startsWith('vm-') || props.runTabState.selectExEnv.toLowerCase().includes('basic-http-provider') || props.runTabState.contracts.loadType !== 'sol') {
230+
if (props.runTabState.selectExEnv.toLowerCase().startsWith('vm-') || props.runTabState.selectExEnv.toLowerCase().includes('basic-http-provider') || props.runTabState.contracts.loadType !== 'sol') {
231231
await handleDeploy()
232232
} else {
233233
const status = await props.getCompilerDetails()

0 commit comments

Comments
 (0)