dial-in-info: fix bundle bloat

The direct import sidesteps many chained-effect imports, halving the bundle
size.
This commit is contained in:
Saúl Ibarra Corretgé 2019-09-06 14:59:12 +02:00 committed by Saúl Ibarra Corretgé
parent b5aae0b58d
commit 2aea24ffad
1 changed files with 1 additions and 1 deletions

View File

@ -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');