Fix React warning when mounting <App>

This commit is contained in:
Evan Hahn 2021-06-23 09:33:27 -05:00 committed by GitHub
parent 6b2dfeb9f5
commit 0ec23be91b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 12 deletions

View file

@ -1715,7 +1715,7 @@ export async function startApp(): Promise<void> {
cancelInitializationMessage();
render(
window.Signal.State.Roots.createApp(window.reduxStore),
document.body
document.getElementById('app-container')
);
const hideMenuBar = window.storage.get('hide-menu-bar', false);
window.setAutoHideMenuBar(hideMenuBar);