Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Update packages/nuxt3/src/app/composables/asyncData.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Roe <daniel@roe.dev>
  • Loading branch information
pi0 and danielroe committed Mar 31, 2022
1 parent 464da08 commit 85393de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt3/src/app/composables/asyncData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function useAsyncData<
}
const off = nuxt.hook('app:data:refresh', (keys) => {
if (!keys || keys.includes(key)) {
return initialFetch()
return asyncData.refresh()
}
})
if (instance) {
Expand Down

0 comments on commit 85393de

Please sign in to comment.