fix: marketplace now works, more hot reload support and fixes

Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
David Ralph
2021-04-12 20:35:17 +01:00
parent b370de9ea3
commit 90a4696114
14 changed files with 52 additions and 35 deletions

View File

@@ -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