diff --git a/src/renderer/App.jsx b/src/renderer/App.jsx index fe17c81..33b0c24 100644 --- a/src/renderer/App.jsx +++ b/src/renderer/App.jsx @@ -43,7 +43,7 @@ export default class App extends PureComponent { render() { return ( <> - + {process.platform === 'darwin' && }
diff --git a/src/renderer/components/Titlebar.jsx b/src/renderer/components/Titlebar.jsx index 21610d6..fd813ce 100644 --- a/src/renderer/components/Titlebar.jsx +++ b/src/renderer/components/Titlebar.jsx @@ -2,14 +2,10 @@ import './Titlebar.css' import React from 'react' import pkg from '../../../package.json' -const Titlebar = () => { - if (process.platform !== 'darwin') return - - return ( -
- {pkg.productName} -
- ) -} +const Titlebar = () => ( +
+ {pkg.productName} +
+) export default Titlebar