From 4c6d0131d2fffcda977ed0e3cc995fd7cfaa2d3e Mon Sep 17 00:00:00 2001 From: Aman Ganapathy <84686202+nams1570@users.noreply.github.com> Date: Wed, 14 Jan 2026 09:46:20 -0800 Subject: [PATCH] [Docs]: Fix typo in server component basics on the getting started guide page (#1085) Previously, the documentation mentioned importing `stackServerApp` from `stack/client.ts`. This has been updated to reflect where it is actually imported from. Co-authored-by: Konsti Wohlwend --- docs/content/docs/(guides)/getting-started/users.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/(guides)/getting-started/users.mdx b/docs/content/docs/(guides)/getting-started/users.mdx index 17ecb67c7..339c5deec 100644 --- a/docs/content/docs/(guides)/getting-started/users.mdx +++ b/docs/content/docs/(guides)/getting-started/users.mdx @@ -30,7 +30,7 @@ Sometimes, you want to retrieve the user only if they're signed in, and redirect ## Server Component basics -Since `useUser()` is a stateful hook, you can't use it on server components. Instead, you can import `stackServerApp` from `stack/client.ts` and call `getUser()`: +Since `useUser()` is a stateful hook, you can't use it on server components. Instead, you can import `stackServerApp` from `stack/server.ts` and call `getUser()`: ```tsx title="my-server-component.tsx" import { stackServerApp } from "@/stack/server";