mirror of
https://github.com/mue/mue.git
synced 2026-07-17 22:14:13 +02:00
fix: greeting options hot reload, unsplash collection setting text missing
This commit is contained in:
@@ -20,6 +20,10 @@ class Switch extends PureComponent {
|
||||
checked: value,
|
||||
});
|
||||
|
||||
if (this.props.onChange) {
|
||||
this.props.onChange(value);
|
||||
}
|
||||
|
||||
variables.stats.postEvent(
|
||||
'setting',
|
||||
`${this.props.name} ${this.state.checked === true ? 'enabled' : 'disabled'}`,
|
||||
|
||||
Reference in New Issue
Block a user