11 lines
364 B
JavaScript
Raw Permalink 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';
2023-10-28 18:48:45 +02:00
import ReactDOM from 'react-dom/client';
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}));
2023-10-28 18:48:45 +02:00
const root = ReactDOM.createRoot(document.getElementById('app'));
root.render(<App/>);