diff --git a/apps/client/src/lib/store.ts b/apps/client/src/lib/store.ts index c6dbde873..8e3687dca 100644 --- a/apps/client/src/lib/store.ts +++ b/apps/client/src/lib/store.ts @@ -8,7 +8,7 @@ import cuid from 'cuid'; export const serverBaseUrl = dev ? `http://${browser && window.location.hostname}:2022` : ''; export let token: string = Cookies.get('token') || ''; -export const t = createTRPCProxyClient({ +export const trpc = createTRPCProxyClient({ transformer: superjson, links: [ httpBatchLink({ diff --git a/apps/client/src/routes/+layout.svelte b/apps/client/src/routes/+layout.svelte index 9ad3451da..cd5ab4cd1 100644 --- a/apps/client/src/routes/+layout.svelte +++ b/apps/client/src/routes/+layout.svelte @@ -1,7 +1,7 @@