Skip to content

Commit cd4a3f8

Browse files
committed
chore: playground
1 parent e35959b commit cd4a3f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

playground/src/pages/users/tq-query.[id].vue

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ const {
7474
}
7575
return user
7676
},
77+
placeholderData: () => ({
78+
id: route.params.id,
79+
name: 'Loading...',
80+
when: new Date().toUTCString(),
81+
}),
7782
queryKey: ['user-id', computed(() => route.params.id)],
7883
staleTime: 0,
7984
retry: false,

0 commit comments

Comments
 (0)