Skip to content

Conversation

mkcode
Copy link
Contributor

@mkcode mkcode commented Aug 23, 2025

It's correct in examples/tanstack, but not in the docs:

import { authClient } from '@/lib/auth-client'
import { fetchSession, getCookieName } from '@/lib/auth-server-utils'


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Copilot Copilot AI review requested due to automatic review settings August 23, 2025 19:27
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes the import statement for authClient in the TanStack documentation to match the correct import pattern used in the working example code.

  • Moves authClient import from server utilities to the client authentication module
  • Aligns documentation with the actual implementation in examples/tanstack

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@erquhart erquhart changed the base branch from latest to main August 27, 2025 21:13
@erquhart
Copy link
Collaborator

Thanks for this!

@erquhart erquhart merged commit 49bf019 into get-convex:main Aug 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants