mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-04-21 12:16:52 +02:00
11 lines
364 B
JavaScript
11 lines
364 B
JavaScript
import regeneratorRuntime from "regenerator-runtime"
|
|
import Bus from "./notifications"
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import App from './App/App.jsx';
|
|
|
|
window.flash = (message, color="gray-light") => Bus.emit('flash', ({message, color}));
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('app'));
|
|
root.render(<App/>);
|