12 lines
333 B
JavaScript
Raw Normal View History

2020-06-09 23:41:08 +02:00
import regeneratorRuntime from "regenerator-runtime"
2020-08-22 22:18:00 +02:00
import Bus from "./notifications"
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App/App.jsx';
2020-08-22 22:18:00 +02:00
window.flash = (message, color="gray-light") => Bus.emit('flash', ({message, color}));
2020-06-10 21:44:02 +02:00
ReactDOM.render(
<App/>
, document.getElementById('app'));