forked from matrix/element-web
don't preload error-view as we expect it to not be shown
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5fdf805df2
commit
918a56d01a
|
@ -148,7 +148,6 @@ export async function loadApp(fragParams: {}) {
|
||||||
export async function showError(title: string, messages?: string[]) {
|
export async function showError(title: string, messages?: string[]) {
|
||||||
const ErrorView = (await import(
|
const ErrorView = (await import(
|
||||||
/* webpackChunkName: "error-view" */
|
/* webpackChunkName: "error-view" */
|
||||||
/* webpackPreload: true */
|
|
||||||
"../components/structures/ErrorView")).default;
|
"../components/structures/ErrorView")).default;
|
||||||
window.matrixChat = ReactDOM.render(<ErrorView title={title} messages={messages} />,
|
window.matrixChat = ReactDOM.render(<ErrorView title={title} messages={messages} />,
|
||||||
document.getElementById('matrixchat'));
|
document.getElementById('matrixchat'));
|
||||||
|
|
Loading…
Reference in New Issue