cleaned up things a little

This commit is contained in:
philip-ellis-sp
2023-05-26 15:08:10 -05:00
parent 9c1ebbd63b
commit b9c3c12eaf
8 changed files with 13 additions and 24 deletions

View File

@@ -10,7 +10,6 @@ export default function BlogCards({
const getPosts = async () => {
const data = await getBlogPosts(filterCallback.join(','));
console.log(data.topics)
const resultset = []
if (data.topics) {
for (const topic of data.topics) {
@@ -56,7 +55,6 @@ export default function BlogCards({
async function getPostList(topic) {
const fullTopic = await getTopic(topic.id);
console.log(fullTopic)
return {
name: fullTopic.details.created_by.name,
excerpt: styleExcerpt(topic.excerpt),