refactor: Reduce bundle size, replace date picker and merge function, add widget order feature etc

Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
David Ralph
2021-03-21 17:45:34 +00:00
parent f89a2f880d
commit 2bf8e0cfbc
16 changed files with 129 additions and 39 deletions

View File

@@ -11,7 +11,7 @@ import '@fontsource/lexend-deca/latin-400.css';
import '@fontsource/roboto/cyrillic-400.css';
// language
import merge from './modules/helpers/merge';
import merge from '@material-ui/utils/deepmerge';
const languagecode = localStorage.getItem('language') || 'en-GB';
// we set things to window. so they're global and we avoid passing the translation strings as props to each component
window.languagecode = languagecode;