2021-04-29 03:01:41 +03:00

15 lines
327 B
TypeScript

import { getDispatch, getGlobal } from '../lib/teact/teactn';
import { DEBUG } from '../config';
export { default as Main } from '../components/main/Main';
if (DEBUG) {
// eslint-disable-next-line no-console
console.log('>>> FINISH LOAD MAIN BUNDLE');
}
if (!getGlobal().connectionState) {
getDispatch().initApi();
}