Ivan Asmer 3 лет назад
Родитель
Сommit
0baa284ee9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/App.js

+ 1 - 1
src/App.js

@@ -266,7 +266,7 @@ const ModelView = ({model, models={}, options, components:Components={Search, Co
     const [count, setCount]   = useState(0)
 
     const [query,  setQuery]  = useState({})
-    const [cursorCalls,  setCursorCalls]  = useState({sort:[{}], skip: [0]/*, limit: [gridHeight/rowHeight]*/})
+    const [cursorCalls,  setCursorCalls]  = useState({sort:[{_id: -1}], skip: [0], limit: [40]/*, limit: [gridHeight/rowHeight]*/})
 
     const skip = cursorCalls.skip[0]