Implement new unsupported browser page
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
b7fa8a1f54
commit
30fa3a92f7
6 changed files with 545 additions and 120 deletions
|
@ -156,8 +156,7 @@ export async function showError(title: string, messages?: string[]) {
|
|||
export async function showIncompatibleBrowser(onAccept) {
|
||||
const CompatibilityPage = (await import(
|
||||
/* webpackChunkName: "compatibility-page" */
|
||||
/* webpackPreload: true */
|
||||
"matrix-react-sdk/src/components/structures/CompatibilityPage")).default;
|
||||
"../components/structures/CompatibilityPage")).default;
|
||||
window.matrixChat = ReactDOM.render(<CompatibilityPage onAccept={onAccept} />,
|
||||
document.getElementById('matrixchat'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue