feat(blog): enhance blog data handling with normalization and improved image management

This commit is contained in:
hamed
2026-06-19 00:35:11 +03:30
parent 4dca516598
commit e9136ea42b
10 changed files with 77 additions and 71 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function Title({ onTagChange }) {
limit: 100,
};
const response = await request.getBlogTags(params);
setTags(response.data || []);
setTags(response?.data?.data || []);
} catch (error) {
console.error("Error fetching tags:", error);
setTags([]);