diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-01-29 11:59:52 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-01-29 11:59:52 +0100 |
| commit | b90a42c33cd3f7c732d0f5d9233facc90bebcac0 (patch) | |
| tree | 762fe7ce9f075b763833dd93d8e54127b1c7ecf7 /app/components | |
| parent | 7c5a422f10dcdb25531dc6dd12d6c66b28d0be35 (diff) | |
| download | mullvadvpn-b90a42c33cd3f7c732d0f5d9233facc90bebcac0.tar.xz mullvadvpn-b90a42c33cd3f7c732d0f5d9233facc90bebcac0.zip | |
Remove common types that are mostly unused
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Switch.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/components/Switch.js b/app/components/Switch.js index f0ad3b41bc..b3f2f58a58 100644 --- a/app/components/Switch.js +++ b/app/components/Switch.js @@ -1,8 +1,6 @@ // @flow import React, { Component } from 'react'; -import type { Point2d } from '../types'; - const CLICK_TIMEOUT = 1000; const MOVE_THRESHOLD = 10; @@ -24,7 +22,7 @@ export default class Switch extends Component { state = { ignoreChange: false, - initialPos: ({x: 0, y: 0}: Point2d), + initialPos: {x: 0, y: 0}, startTime: (null: ?number) } |
