mirror of
https://github.com/mue/mue.git
synced 2026-07-21 16:04:22 +02:00
feat: fully working hot reload for weather and search
This commit is contained in:
@@ -34,7 +34,7 @@ export default class Widgets extends React.PureComponent {
|
||||
|
||||
componentDidMount() {
|
||||
EventBus.on('refresh', (data) => {
|
||||
if (data === 'order') {
|
||||
if (data === 'widgets') {
|
||||
this.setState({
|
||||
order: JSON.parse(localStorage.getItem('order'))
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user