refactor: make modals like widgets

This commit is contained in:
David Ralph
2021-03-20 12:55:20 +00:00
parent 0c71f0ebef
commit ab7681f3d0
44 changed files with 362 additions and 117 deletions

View File

@@ -17,6 +17,10 @@ const languagecode = localStorage.getItem('language') || 'en-GB';
window.languagecode = languagecode;
window.language = merge(require('./translations/en-GB.json'), require(`./translations/${languagecode}.json`));
// window.constants
import * as Constants from './modules/constants';
window.constants = Constants;
ReactDOM.render(
<App/>,
document.getElementById('root')