mirror of
https://github.com/mue/mue.git
synced 2026-07-16 21:44:22 +02:00
feat: locally store stats so users can see them (no ui yet)
This commit is contained in:
@@ -4,7 +4,7 @@ export default function ResetModal(props) {
|
||||
const language = window.language.modals.main.settings.sections.advanced.reset_modal;
|
||||
|
||||
const reset = () => {
|
||||
window.analytics.postEvent('setting', 'Reset');
|
||||
window.stats.postEvent('setting', 'Reset');
|
||||
SettingsFunctions.setDefaultSettings('reset');
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user