Fix React warning when mounting <App>
This commit is contained in:
parent
6b2dfeb9f5
commit
0ec23be91b
3 changed files with 18 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- Copyright 2014-2020 Signal Messenger, LLC -->
|
||||
<!-- Copyright 2014-2021 Signal Messenger, LLC -->
|
||||
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
@ -352,17 +352,19 @@
|
|||
<script type='text/javascript' src='js/keychange_listener.js'></script>
|
||||
</head>
|
||||
<body class="overflow-hidden">
|
||||
<div class='app-loading-screen'>
|
||||
<div class='module-title-bar-drag-area'></div>
|
||||
<div id='app-container'>
|
||||
<div class='app-loading-screen'>
|
||||
<div class='module-title-bar-drag-area'></div>
|
||||
|
||||
<div class='content'>
|
||||
<div class="module-splash-screen__logo module-img--150"></div>
|
||||
<div class='container'>
|
||||
<span class='dot'></span>
|
||||
<span class='dot'></span>
|
||||
<span class='dot'></span>
|
||||
<div class='content'>
|
||||
<div class="module-splash-screen__logo module-img--150"></div>
|
||||
<div class='container'>
|
||||
<span class='dot'></span>
|
||||
<span class='dot'></span>
|
||||
<span class='dot'></span>
|
||||
</div>
|
||||
<div class='message'></div>
|
||||
</div>
|
||||
<div class='message'></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
// Copyright 2015-2020 Signal Messenger, LLC
|
||||
// Copyright 2015-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
#app-container {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.conversation-stack,
|
||||
.new-conversation,
|
||||
.inbox,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue