mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 08:42:48 +00:00
merge master
This commit is contained in:
parent
e00f0995b9
commit
6cafc3d349
1 changed files with 1 additions and 25 deletions
|
|
@ -1,34 +1,10 @@
|
|||
import React, { PureComponent } from 'react';
|
||||
import { UserPanel } from 'stremio-common';
|
||||
|
||||
class Board extends PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
// this.aggregator = new Catalogs(addons.addons);
|
||||
|
||||
this.state = {
|
||||
catalogs: []
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
// this.aggregator.evs.addListener('updated', this.onCatalogsUpdated);
|
||||
// this.aggregator.run();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
// this.aggregator.evs.removeListener('updated', this.onCatalogsUpdated);
|
||||
}
|
||||
|
||||
onCatalogsUpdated = () => {
|
||||
// this.setState({ catalogs: this.aggregator.results.slice() });
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div style={{ paddingTop: 40, color: 'yellow' }}>
|
||||
<UserPanel photo={'https://image.freepik.com/free-vector/wild-animals-cartoon_1196-361.jpg'} email={'animals@mail.com'}></UserPanel>
|
||||
Board
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue