We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88422ad commit 121f9b6Copy full SHA for 121f9b6
src/routes/solid-start/building-your-application/api-routes.mdx
@@ -201,7 +201,7 @@ export const client = createTRPCProxyClient<AppRouter>({
201
Finally, you can use the `fetch` adapter to write an API route that acts as the tRPC server.
202
203
```tsx title="routes/api/trpc/[trpc].ts"
204
-import { type APIEvent } from "solid-start/api";
+import { type APIEvent } from "@solidjs/start/server";
205
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
206
import { appRouter } from "~/lib/router";
207
0 commit comments