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