В
Size: a a a
В
handleNextPage = () => {
let pageNum = this.state.questionResponse.page
this.setState({
questionResponse: pageNum++
})
}сделал так, при нажатии на next, получаю:TypeError: Cannot read property 'map' of undefinedY
{
"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++;
