summaryrefslogtreecommitdiffhomepage
path: root/app/components/PlatformWindow.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-01 16:13:10 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-05 12:11:55 +0200
commitca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087 (patch)
treeb1f7754eb50896ab3681e35fa4e08be642b940c9 /app/components/PlatformWindow.js
parent5852c980980de53e00d76a0bdb4b41bf5c0f5b39 (diff)
downloadmullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.tar.xz
mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.zip
Add formatted source code
Diffstat (limited to 'app/components/PlatformWindow.js')
-rw-r--r--app/components/PlatformWindow.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/components/PlatformWindow.js b/app/components/PlatformWindow.js
index b727cdd7b1..60f26dd6de 100644
--- a/app/components/PlatformWindow.js
+++ b/app/components/PlatformWindow.js
@@ -2,16 +2,12 @@
import * as React from 'react';
type Props = {
- children?: React.Node
+ children?: React.Node,
};
export default class PlatformWindow extends React.Component<Props> {
render() {
const chromeClass = ['window-chrome', 'window-chrome--' + process.platform];
- return (
- <div className={ chromeClass.join(' ') }>
- { this.props.children }
- </div>
- );
+ return <div className={chromeClass.join(' ')}>{this.props.children}</div>;
}
-} \ No newline at end of file
+}