mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
parent
52590b8fe3
commit
05f29edbeb
@ -37,7 +37,6 @@ export default class EnsInput extends Component {
|
|||||||
|
|
||||||
onPaste = (event) => {
|
onPaste = (event) => {
|
||||||
if (event.clipboardData.items?.length) {
|
if (event.clipboardData.items?.length) {
|
||||||
event.preventDefault();
|
|
||||||
const clipboardItem = event.clipboardData.items[0];
|
const clipboardItem = event.clipboardData.items[0];
|
||||||
clipboardItem?.getAsString((text) => {
|
clipboardItem?.getAsString((text) => {
|
||||||
const input = text.trim();
|
const input = text.trim();
|
||||||
|
Loading…
Reference in New Issue
Block a user