mirror of
https://github.com/mue/mue.git
synced 2026-07-20 15:34:10 +02:00
fix: marketplace now works, more hot reload support and fixes
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import EventBus from '../../../../modules/helpers/eventbus';
|
||||
|
||||
export default class Dropdown extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
@@ -26,6 +28,8 @@ export default class Dropdown extends React.PureComponent {
|
||||
if (this.props.onChange) {
|
||||
this.props.onChange(value);
|
||||
}
|
||||
|
||||
EventBus.dispatch('refresh', this.props.category);
|
||||
}
|
||||
|
||||
// todo: find a better way to do this
|
||||
|
||||
Reference in New Issue
Block a user