Skip to content

Commit

Permalink
chore: replace deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske committed Oct 4, 2024
1 parent 8633da7 commit ef5e0e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/trpc/client.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createTRPCProxyClient, loggerLink } from "@trpc/client";
import { createTRPCClient, loggerLink } from "@trpc/client";

import type { AppRouter } from "@openstatus/api";

import { endingLink } from "./shared";

export const api = createTRPCProxyClient<AppRouter>({
export const api = createTRPCClient<AppRouter>({
links: [
loggerLink({
enabled: (opts) =>
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/trpc/server.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { createTRPCProxyClient, loggerLink } from "@trpc/client";
import { createTRPCClient, loggerLink } from "@trpc/client";
import { headers } from "next/headers";

import type { AppRouter } from "@openstatus/api";

import { endingLink } from "./shared";

export const api = createTRPCProxyClient<AppRouter>({
export const api = createTRPCClient<AppRouter>({
links: [
loggerLink({
enabled: (opts) =>
Expand Down

0 comments on commit ef5e0e3

Please sign in to comment.