diff options
Diffstat (limited to 'app/components/Switch.js')
| -rw-r--r-- | app/components/Switch.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/Switch.js b/app/components/Switch.js index 7f19e275bb..4cb0ea34c3 100644 --- a/app/components/Switch.js +++ b/app/components/Switch.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; const CLICK_TIMEOUT = 1000; const MOVE_THRESHOLD = 10; |
