don't preload error-view as we expect it to not be shown

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/13329/head
Michael Telatynski 2020-04-22 18:49:39 +01:00
parent 5fdf805df2
commit 918a56d01a
1 changed files with 0 additions and 1 deletions

View File

@ -148,7 +148,6 @@ export async function loadApp(fragParams: {}) {
export async function showError(title: string, messages?: string[]) {
const ErrorView = (await import(
/* webpackChunkName: "error-view" */
/* webpackPreload: true */
"../components/structures/ErrorView")).default;
window.matrixChat = ReactDOM.render(<ErrorView title={title} messages={messages} />,
document.getElementById('matrixchat'));