chore: add prettier linter

This commit is contained in:
AnotiaWang
2025-02-28 16:20:15 +08:00
parent c45d75fad2
commit 3eb93e034a
5 changed files with 23 additions and 6 deletions

View File

@ -44,7 +44,9 @@ until modelValue's length > 0 -->
</div>
</template>
<template #content="{ item }">
<p class="text-sm text-gray-500 dark:text-gray-400 whitespace-pre-wrap mb-4">
<p
class="text-sm text-gray-500 dark:text-gray-400 whitespace-pre-wrap mb-4"
>
{{ item.content }}
</p>
</template>

View File

@ -31,8 +31,8 @@ export const useWebSearch = (): WebSearchFunction => {
const results = await fc.search(q, {
...o,
scrapeOptions: {
formats: ['markdown']
}
formats: ['markdown'], // TODO: verify if this actually works
},
})
if (results.error) {
throw new Error(results.error)