From 6af37040d4279a5f34ae2b1ca00eca8fad15cdd2 Mon Sep 17 00:00:00 2001 From: muerwre Date: Tue, 19 Feb 2019 11:19:08 +0700 Subject: [PATCH] faster map loading --- src/components/dialogs/MapListDialog.tsx | 1 + src/redux/user/sagas.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/dialogs/MapListDialog.tsx b/src/components/dialogs/MapListDialog.tsx index cfa24f0..a5c4b8c 100644 --- a/src/components/dialogs/MapListDialog.tsx +++ b/src/components/dialogs/MapListDialog.tsx @@ -164,6 +164,7 @@ class Component extends React.Component { } +
); diff --git a/src/redux/user/sagas.ts b/src/redux/user/sagas.ts index 4460342..7fc3195 100644 --- a/src/redux/user/sagas.ts +++ b/src/redux/user/sagas.ts @@ -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));