I have been following along with the course and got to this section. Everything was working fine until Mosh go to the part about not having the page scroll while paging. I tried to add the "keepPreviousData: true as he did in the code, but it just keeps giving me an syntax error
I am not sure why this is happening and I cannot get it resolved. Is there any place to get this code from Git? It seems he has only committed the original code and not as he is going through the course. If someone can provide the code, that would be fine too. I just want to move on and this is very annoying. Thank you