mirror of https://github.com/sualko/cloud_bbb
16 lines
292 B
TypeScript
16 lines
292 B
TypeScript
'use strict';
|
|
|
|
import App from './App';
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
|
|
// Enable React devtools
|
|
window['React'] = React;
|
|
|
|
$(document).ready(() => {
|
|
const root = document.getElementById('bbb-restrictions');
|
|
if (root) {
|
|
render(<App /> as any, root);
|
|
}
|
|
});
|