mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
faster map loading
This commit is contained in:
parent
f24f43b71c
commit
6af37040d4
2 changed files with 2 additions and 1 deletions
|
@ -164,6 +164,7 @@ class Component extends React.Component<Props, State> {
|
|||
}
|
||||
</div>
|
||||
</Scroll>
|
||||
|
||||
<div className={classnames('dialog-maplist-pulse', { active: loading })} />
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue