update text

pull/4735/head
aniket-engg 6 months ago committed by Aniket
parent eb84f6aefe
commit 2275408c45
  1. 4
      apps/remix-ide/src/app/tabs/locales/en/udapp.json
  2. 2
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -80,9 +80,9 @@
"udapp.pinnedAt": "Pinned at",
"udapp.filePath": "File path",
"udapp.solScan.iconTooltip": "Run Solidity scan for contract",
"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": "Contract code will be shared to third party Solidity Scan.\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 (https://solidityscan.com/).\n\n Would you like to continue?",
"udapp.solScan.modalOkLabel": "Continue",
"udapp.solScan.modalCancelLabel": "Cancel",
"udapp.solScan.errModalTitle": "Scanning error",

@ -240,7 +240,6 @@ export function UniversalDappUI(props: UdappProps) {
ws.addEventListener('message', async (event) => {
const data = JSON.parse(event.data)
console.log('data---->', data)
if (data.type === "auth_token_register" && data.payload.message === "Auth token registered.") {
// Message on Bearer token successful registration
const reqToInitScan = {
@ -270,7 +269,6 @@ export function UniversalDappUI(props: UdappProps) {
} else if (data.type === "scan_status" && data.payload.scan_status === "scan_done") {
// Message on successful scan
console.log('data.payload--->', data.payload)
const url = data.payload.scan_details.link
const { data: scanData } = await axios.post('https://solidityscan.remixproject.org/downloadResult', { url })

Loading…
Cancel
Save