В
Size: a a a
В
handleNextPage = () => {сделал так, при нажатии на
let pageNum = this.state.questionResponse.page
this.setState({
questionResponse: pageNum++
})
}
next
, получаю:TypeError: Cannot read property 'map' of undefined
Y
{
"page": 0,
"questionDto": [
{
"createdAt": "yyyy-MM-dd HH:mm:ss",
"id": 0,
"title": "string"
}
],
"size": 0,
"totalPages": 0
}
S
while (index<counter)
{
$.ajax({
url: "/suggestions",
type: "get",
index++;