React intermidiate course

Having a issue on the usePosts hooks.

struggled with it for a while then thought ill download the source files and just have a look where i went wrong but the finsihed source files have the same issue.

in the end i landed up with this

Instead of declaring pageParam be of type any, set it to type number like so:

pageParam: number;

You should avoid any as much as possible.

Please which API did you use for the React Course part 1

I used the one from Rawg but it was a struggle to get it working

You should avoid any always. lol

Salam Sufian Bhai, thori help chahye apki please. Is there anyway I can send you inbox? or you fb link?