faster map loading

This commit is contained in:
muerwre 2019-02-19 11:19:08 +07:00
parent f24f43b71c
commit 6af37040d4
2 changed files with 2 additions and 1 deletions

View file

@ -164,6 +164,7 @@ class Component extends React.Component<Props, State> {
}
</div>
</Scroll>
<div className={classnames('dialog-maplist-pulse', { active: loading })} />
</div>
);

View file

@ -603,7 +603,7 @@ function* mapsLoadMoreSaga() {
if (loading || list.length >= limit || limit === 0) return;
yield delay(500);
yield delay(100);
yield put(searchSetLoading(true));
yield put(mapsSetShift(shift + step));