Skip to content

Commit 6e50117

Browse files
committed
Merge branch 'fix_update_value' of https://github.com/ethereum/remix-project into fix_update_value
2 parents 2877c61 + 15d11a9 commit 6e50117

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export function UniversalDappUI(props: UdappProps) {
3636

3737
const checkUrlParams = useCallback(() => {
3838
const qp = new QueryParams()
39-
const params = qp.get()
40-
const hasFlag = params['experimental'] === 'true'
39+
const hasFlag = qp.exists('experimental')
4140

4241
setUseNewAiBuilder(prev => {
4342
if (prev !== hasFlag) {
@@ -577,4 +576,4 @@ const generateAIDappWithPlugin = async (description: string, address: string, co
577576
console.error('Error generating DApp:', error)
578577
await props.plugin.call('terminal', 'log', { type: 'error', value: error.message })
579578
}
580-
}
579+
}

0 commit comments

Comments
 (0)