mirror of
https://github.com/mue/mue.git
synced 2026-07-22 08:17:28 +02:00
feat: add opt-in umami analytics (WIP)
This commit is contained in:
@@ -19,6 +19,8 @@ export default class Slider extends React.PureComponent {
|
||||
handleChange = (e, text) => {
|
||||
let { value } = e.target;
|
||||
|
||||
window.analytics.postEvent('settingUpdate', `Changed setting ${this.props.name} from ${this.state.value} to ${value}`);
|
||||
|
||||
if (text) {
|
||||
if (value === '') {
|
||||
return this.setState({
|
||||
|
||||
Reference in New Issue
Block a user