I removed all topics from /client/src/data/topics.ts, and created a function to load all topics data from the backend database. I called this URL /api/get-topics and got all topics data, then returned that data from my function. And Finally, switch the source of all by tweaking a little.
@Lalit3716 It is working fine on my machine, kindly review it.
I removed all topics from
/client/src/data/topics.ts
, and created a function to load all topics data from the backend database. I called this URL/api/get-topics
and got all topics data, then returned that data from my function. And Finally, switch the source of all by tweaking a little.@Lalit3716 It is working fine on my machine, kindly review it.