diff options
author | Matthew Shao <me@matshao.com> | 2017-05-26 17:25:51 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-05-26 17:25:51 +0800 |
commit | 1d7e5544876b111e96358247435ba6dfb674b861 (patch) | |
tree | f4bf247d10c2d7806682a6b4d608a709e12647b0 /web/src/js/components | |
parent | 05d78a8353370fe60e06bc75c1fe658b735ea2ed (diff) | |
download | mitmproxy-1d7e5544876b111e96358247435ba6dfb674b861.tar.gz mitmproxy-1d7e5544876b111e96358247435ba6dfb674b861.tar.bz2 mitmproxy-1d7e5544876b111e96358247435ba6dfb674b861.zip |
[web] Add tests for js/components/Header/ConnectionIndicator.jsx
Diffstat (limited to 'web/src/js/components')
-rw-r--r-- | web/src/js/components/Header/ConnectionIndicator.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/Header/ConnectionIndicator.jsx b/web/src/js/components/Header/ConnectionIndicator.jsx index 1ee42e25..bbf0dd81 100644 --- a/web/src/js/components/Header/ConnectionIndicator.jsx +++ b/web/src/js/components/Header/ConnectionIndicator.jsx @@ -9,7 +9,7 @@ ConnectionIndicator.propTypes = { message: PropTypes.string, } -function ConnectionIndicator({ state, message }) { +export function ConnectionIndicator({ state, message }) { switch (state) { case ConnectionState.INIT: return <span className="connection-indicator init">connecting…</span>; |