mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 13:39:55 +00:00
15 lines
285 B
JavaScript
15 lines
285 B
JavaScript
import "babel-polyfill";
|
|
import React from "react";
|
|
import { render } from "react-dom";
|
|
|
|
let root;
|
|
|
|
function init() {
|
|
let App = require("./screens/drone").default;
|
|
root = render(<App />, document.body, root);
|
|
}
|
|
|
|
init();
|
|
|
|
if (module.hot) module.hot.accept("./screens/drone", init);
|