aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/Prompt.jsx
diff options
context:
space:
mode:
authorJason <jason.daurus@gmail.com>2016-06-17 07:57:06 +0800
committerJason <jason.daurus@gmail.com>2016-06-17 07:57:06 +0800
commit034287edcf00eb734cb67e62de58c3bfebf6bb44 (patch)
tree198264689fc77b8fe8c54a5c95114da7ef5a1651 /web/src/js/components/Prompt.jsx
parent7a78970d10ab2dfc9b86dd30a76fb1513f43dd35 (diff)
downloadmitmproxy-034287edcf00eb734cb67e62de58c3bfebf6bb44.tar.gz
mitmproxy-034287edcf00eb734cb67e62de58c3bfebf6bb44.tar.bz2
mitmproxy-034287edcf00eb734cb67e62de58c3bfebf6bb44.zip
[web] clean up
Diffstat (limited to 'web/src/js/components/Prompt.jsx')
-rwxr-xr-xweb/src/js/components/Prompt.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/src/js/components/Prompt.jsx b/web/src/js/components/Prompt.jsx
index 878aae29..6b19b3b3 100755
--- a/web/src/js/components/Prompt.jsx
+++ b/web/src/js/components/Prompt.jsx
@@ -14,10 +14,6 @@ Prompt.propTypes = {
prompt: PropTypes.string,
}
-Prompt.componentDidMount = function() {
- ReactDOM.findDOMNode(this).focus()
-}
-
export default function Prompt({ prompt, done, options }, context) {
const opts = []