feat(discover-api): handle topics

This commit is contained in:
ItzCrazyKns
2025-07-29 13:17:07 +05:30
parent 3bee01cfa7
commit 45b51ab156
2 changed files with 31 additions and 18 deletions

View File

@@ -43,7 +43,6 @@ const Page = () => {
const fetchArticles = async (topic: string) => {
setLoading(true);
console.log(topic);
try {
const res = await fetch(`/api/discover?topic=${topic}`, {
method: 'GET',