remove mutation composable

This commit is contained in:
Robert Soriano
2022-05-17 16:52:50 -07:00
parent 2f19d63e5c
commit 12bb09c4c8
2 changed files with 1 additions and 28 deletions

View File

@@ -28,7 +28,6 @@ export default defineNuxtModule<ModuleOptions>({
imports.push(
{ name: 'useTrpcQuery', from: clientPath },
{ name: 'useLazyTrpcQuery', from: clientPath },
{ name: 'useTrpcMutation', from: clientPath },
{ name: 'useClient', from: clientPath },
)
})
@@ -47,14 +46,12 @@ export default defineNuxtModule<ModuleOptions>({
const {
useTrpcQuery,
useLazyTrpcQuery,
useTrpcMutation,
useClient
} = createTRPCComposables<typeof router>(client)
export {
useTrpcQuery,
useLazyTrpcQuery,
useTrpcMutation,
useClient
}
`)