docs: update import path for auth in tanstack integration (#7118)

This commit is contained in:
Nestor Cortina
2026-01-05 12:17:28 -05:00
committed by GitHub
parent 8f115588a9
commit e55516b296

View File

@@ -68,7 +68,7 @@ You can use TanStack Start's middleware to protect routes that require authentic
import { redirect } from "@tanstack/react-router";
import { createMiddleware } from "@tanstack/react-start";
import { getRequestHeaders } from "@tanstack/react-start/server";
import { auth } from "./auth";
import { auth } from "@/lib/auth";
export const authMiddleware = createMiddleware().server(
async ({ next, request }) => {