mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-11 10:11:17 +00:00
shouldComponentUpdate added
This commit is contained in:
parent
40606257f3
commit
cd0455e8b5
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,10 @@ class Detail extends Component {
|
|||
};
|
||||
}
|
||||
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
return nextState.logoLoaded !== this.state.logoLoaded;
|
||||
}
|
||||
|
||||
renderSection({ title, links }) {
|
||||
return (
|
||||
<div className={styles['section-container']}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue