summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-07-13 15:41:01 +0200
committerAndrej Mihajlov <and@codeispoetry.ru>2017-07-21 10:03:57 +0100
commit14eb55140257e70242ac8aa7319c75dc62e1bd64 (patch)
tree5dd213beeea22d9c6f29297f7d515e26efc784bb
parent5b4727e64668b86e4fd775eb7fc2a4f8b2510298 (diff)
downloadmullvadvpn-14eb55140257e70242ac8aa7319c75dc62e1bd64.tar.xz
mullvadvpn-14eb55140257e70242ac8aa7319c75dc62e1bd64.zip
Add missing annotation for WindowChrome
-rw-r--r--app/components/WindowChrome.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/components/WindowChrome.js b/app/components/WindowChrome.js
index 141c99fdb4..d7094813db 100644
--- a/app/components/WindowChrome.js
+++ b/app/components/WindowChrome.js
@@ -5,8 +5,7 @@ export default class WindowChrome extends Component {
props: {
children: Array<React.Element<*>> | React.Element<*>
}
-
- render() {
+ render(): React.Element<*> {
const chromeClass = ['window-chrome', 'window-chrome--' + process.platform];
return (
<div className={ chromeClass.join(' ') }>