mirror of
https://github.com/mue/mue.git
synced 2026-07-28 03:01:10 +02:00
refactor: make modals like widgets
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user