mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-27 02:43:45 +02:00
12 lines
333 B
JavaScript
12 lines
333 B
JavaScript
import regeneratorRuntime from "regenerator-runtime"
|
|
import Bus from "./notifications"
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import App from './App/App.jsx';
|
|
|
|
window.flash = (message, color="gray-light") => Bus.emit('flash', ({message, color}));
|
|
|
|
ReactDOM.render(
|
|
<App/>
|
|
, document.getElementById('app'));
|