added proper link for solidityscan

pull/4879/head
lianahus 5 months ago
parent a710975a39
commit d8d78d4169
  1. 2
      apps/remix-ide/src/app/tabs/locales/en/udapp.json
  2. 6
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -82,7 +82,7 @@
"udapp.solScan.iconTooltip": "Click to scan this contract for vulnerabilities using third-party SolidityScan [BETA]",
"udapp.solScan.modalTitle": "Permission to share code",
"udapp.solScan.modalMessage": "To scan the contract for vulnerabilities & possible risks, smart contract code will be shared to third-party SolidityScan (https://solidityscan.com/).\n\n Would you like to continue?",
"udapp.solScan.modalMessage": "To scan the contract for vulnerabilities & possible risks, smart contract code will be shared to third-party SolidityScan.\n\n Would you like to continue?",
"udapp.solScan.modalOkLabel": "Continue",
"udapp.solScan.modalCancelLabel": "Cancel",
"udapp.solScan.errModalTitle": "Scan error",

@ -295,7 +295,6 @@ export function UniversalDappUI(props: UdappProps) {
}
await props.plugin.call('notification', 'modal', modal)
}
})
}
}
@ -305,7 +304,10 @@ export function UniversalDappUI(props: UdappProps) {
const modal: AppModal = {
id: 'SolidityScanPermissionHandler',
title: <FormattedMessage id="udapp.solScan.modalTitle" />,
message: <FormattedMessage id="udapp.solScan.modalMessage" />,
message: <div className='d-flex flex-column'>
<FormattedMessage id="udapp.solScan.modalMessage" />
<a href={'https://solidityscan.com'} target="_blank" >Learn more</a>
</div>,
okLabel: <FormattedMessage id="udapp.solScan.modalOkLabel" />,
okFn: handleScanContinue,
cancelLabel: <FormattedMessage id="udapp.solScan.modalCancelLabel" />

Loading…
Cancel
Save