dial-in-info: fix bundle bloat
The direct import sidesteps many chained-effect imports, halving the bundle size.
This commit is contained in:
parent
b5aae0b58d
commit
2aea24ffad
|
@ -8,7 +8,7 @@ import { i18next } from '../../../base/i18n';
|
||||||
import { DialInSummary } from '../dial-in-summary';
|
import { DialInSummary } from '../dial-in-summary';
|
||||||
|
|
||||||
import NoRoomError from './NoRoomError';
|
import NoRoomError from './NoRoomError';
|
||||||
import { Platform } from '../../../base/react';
|
import Platform from '../../../base/react/Platform.web';
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const { room } = parseURLParams(window.location, true, 'search');
|
const { room } = parseURLParams(window.location, true, 'search');
|
||||||
|
|
Loading…
Reference in New Issue