diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-05-29 13:42:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 13:42:18 +0200 |
commit | ec7d7c995c0d8e93332b43699ad372f9555c9b75 (patch) | |
tree | 64bcd3790802e537da7d886ebae25e8ff5453d1a /web/src/js/components/Header/ConnectionIndicator.jsx | |
parent | e7f7a608c6dda7cc22d2eda1129da99fd2830767 (diff) | |
parent | a0ec6f58e960ba8f41929da971b3603af1c7e629 (diff) | |
download | mitmproxy-ec7d7c995c0d8e93332b43699ad372f9555c9b75.tar.gz mitmproxy-ec7d7c995c0d8e93332b43699ad372f9555c9b75.tar.bz2 mitmproxy-ec7d7c995c0d8e93332b43699ad372f9555c9b75.zip |
Merge pull request #2348 from MatthewShao/jest-dev
[WIP][web] Add tests for js/components/Header
Diffstat (limited to 'web/src/js/components/Header/ConnectionIndicator.jsx')
-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>; |