refactor: plugin arrangement

This commit is contained in:
Robert Soriano
2022-05-23 10:25:34 -07:00
parent 986b661e99
commit 779221d9e6
3 changed files with 13 additions and 26 deletions

View File

@@ -58,3 +58,8 @@ export async function useAsyncQuery<
error: serverError,
} as any
}
export function useClient() {
const { $client } = useNuxtApp()
return $client
}