From cea556bcebf6fd00793072feae36c54701c4ff76 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 25 Oct 2022 10:10:48 +0200 Subject: [PATCH] update text --- .../remix-ui/editor/src/lib/remix-ui-editor.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index 402a888411..9b9beba82f 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -547,19 +547,20 @@ export const EditorUI = (props: EditorUIProps) => { if (!pasteCodeRef.current && e && e.range && e.range.startLineNumber >= 0 && e.range.endLineNumber >= 0 && e.range.endLineNumber - e.range.startLineNumber > 10) { const modalContent: AlertModal = { id: 'newCodePasted', - title: 'New pasted code detected!', + title: 'Pasted Code Alert', message: (
- Remix detected you have just pasted a consequent code snippet or contract in the editor. + You have just pasted a code snippet or contract in the editor.
- Please make sure you fully understand this new code before executing any transaction that uses it. -
- Your wallet might be exposed and at risk if you run untrusted code. In a worst-case scenario you could loose all your money. + Make sure you fully understand this code before deploying or interacting with it. Don't get scammed! +
+ Running untrusted code can put your wallet at risk . In a worst-case scenario, you could loose all your money.
- If you don't fully understand it, please don't run this code. -
- If you are not a smart contract developer, please ask assistance to someone you trust and has the appropirate skills to determine whether this code is safe to use. +
If you don't fully understand it, please don't run this code.
+
+ If you are not a smart contract developer, ask someone you trust who has the skills to determine if this code is safe to use.
+
See these recommendations for more information.
),