mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-15 00:36:46 +00:00
Do not load if not needed
This commit is contained in:
parent
30c9e14168
commit
02e436f26d
@ -15,7 +15,9 @@ class BlocksContainer extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.fetchBlocks();
|
if (!this.props.blocks.data) {
|
||||||
|
this.props.fetchBlocks();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
loadMore() {
|
loadMore() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user