summaryrefslogtreecommitdiffhomepage
path: root/app/components/PlatformWindow.js
diff options
context:
space:
mode:
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
+}