Some Issue Fix

Signed-off-by: Al Asad Nur Riyad <asadnurriyad@gmail.com>
This commit is contained in:
Al Asad Nur Riyad
2023-05-06 15:51:22 +06:00
parent 137ab83bab
commit 5e48ccd19d
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
// Get Last 6 Publish Post from the content/blog directory
const { data } = await useAsyncData('trending-post', () =>
queryContent('/blogs').limit(3).sort({ _id: -1 }).find(),
queryContent('/blogs').limit(3).sort({ _id: 1 }).find(),
)
const formatedData = computed(() => {