1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

move drag bar out of app and into bootstrap

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2020-09-22 16:48:41 -04:00
parent e2f5834de4
commit c91c176b7f
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,10 @@ export async function bootstrap(App: AppComponent) {
if (App.init) {
await App.init();
}
render(<App/>, rootElem);
render(<>
{isMac && <div id="draggable-top" />}
<App />
</>, rootElem);
}
// run

View File

@ -54,7 +54,6 @@ export class ClusterManager extends React.Component {
render() {
return (
<div className="ClusterManager">
{isMac && <div id="draggable-top" />}
<main>
<div id="lens-views" />
<Switch>