prettier fixes #16

This commit is contained in:
Michael Dausmann
2023-10-24 21:18:03 +11:00
parent dc9d64ebf5
commit a7f8c37f99
56 changed files with 1706 additions and 935 deletions

View File

@@ -1,6 +1,6 @@
import { createTRPCNuxtClient, httpBatchLink } from "trpc-nuxt/client";
import type { AppRouter } from "~/server/trpc/routers/app.router";
import superjson from "superjson";
import { createTRPCNuxtClient, httpBatchLink } from 'trpc-nuxt/client';
import type { AppRouter } from '~/server/trpc/routers/app.router';
import superjson from 'superjson';
export default defineNuxtPlugin(() => {
/**
@@ -10,15 +10,15 @@ export default defineNuxtPlugin(() => {
const client = createTRPCNuxtClient<AppRouter>({
links: [
httpBatchLink({
url: "/api/trpc",
}),
url: '/api/trpc'
})
],
transformer: superjson,
transformer: superjson
});
return {
provide: {
client,
},
client
}
};
});