mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 02:22:09 +00:00
board updated
This commit is contained in:
parent
f8230ce408
commit
0d4987680c
1 changed files with 1 additions and 33 deletions
|
|
@ -1,42 +1,10 @@
|
|||
import React, { PureComponent } from 'react';
|
||||
import { Catalogs } from 'stremio-aggregators';
|
||||
import { addons } from 'stremio-services';
|
||||
import { Stream } from 'stremio-common';
|
||||
import { Video } from 'stremio-common';
|
||||
import { LibraryItemList } from 'stremio-common';
|
||||
import { MetaItem } from 'stremio-common';
|
||||
import { Addon } from 'stremio-common';
|
||||
import { ShareAddon } from 'stremio-common';
|
||||
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