mirror of
https://github.com/mue/mue.git
synced 2026-07-07 00:14:23 +02:00
chore: release 5.1.1
This commit is contained in:
@@ -11,7 +11,7 @@ import 'react-toastify/dist/ReactToastify.min.css';
|
||||
import '@fontsource/lexend-deca/400.css';
|
||||
|
||||
// this is opt-in btw
|
||||
import Analytics from './modules/helpers/analytics';
|
||||
//import Analytics from './modules/helpers/analytics';
|
||||
|
||||
// language
|
||||
import merge from '@material-ui/utils/esm/deepmerge';
|
||||
@@ -40,7 +40,7 @@ if (window.languagecode !== 'en_GB' || window.languagecode !== 'en_US') {
|
||||
|
||||
window.constants = Constants;
|
||||
if (localStorage.getItem('analytics') === 'true' && localStorage.getItem('offlineMode') !== 'true') {
|
||||
window.analytics = new Analytics(window.constants.UMAMI_ID);
|
||||
//window.analytics = new Analytics(window.constants.UMAMI_ID);
|
||||
} else {
|
||||
window.analytics = {
|
||||
tabLoad: () => '',
|
||||
|
||||
Reference in New Issue
Block a user