summaryrefslogtreecommitdiffhomepage
path: root/app/components/AccountInput.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/AccountInput.js')
-rw-r--r--app/components/AccountInput.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js
index cb7cd258c5..32ad0aeb22 100644
--- a/app/components/AccountInput.js
+++ b/app/components/AccountInput.js
@@ -4,17 +4,9 @@ import { TextInput } from 'reactxp';
import { formatAccount } from '../lib/formatters';
import { colors } from '../config';
-// @TODO: move it into types.js
-
// ESLint issue: https://github.com/babel/babel-eslint/issues/445
-// eslint-disable-next-line no-unused-vars
-declare class ClipboardData {
- setData(type: string, data: string): void;
- getData(type: string): string;
-}
-
declare class ClipboardEvent extends Event {
- clipboardData: ClipboardData;
+ clipboardData: DataTransfer;
}
export type AccountInputProps = {