docs(examples): remove key from useFetch with params watch

This commit is contained in:
Benjamin Canac
2025-05-07 10:52:06 +02:00
parent 4c1093bde4
commit 6f07f6bd6e
3 changed files with 0 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ const searchTerm = ref('')
const searchTermDebounced = refDebounced(searchTerm, 200)
const { data: users, status } = await useFetch('https://jsonplaceholder.typicode.com/users', {
key: 'typicode-users',
params: { q: searchTermDebounced },
transform: (data: { id: number, name: string }[]) => {
return data?.map(user => ({