Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as z from 'zod/v4';

/** Search params for `/auth`. */
export const authSearchParamsSchema = z.object({
/**
* Path of the protected page the user was trying to access before being redirected to auth.
Expand Down
2 changes: 1 addition & 1 deletion src/routes/auth/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createFileRoute, Outlet } from '@tanstack/react-router';
import { zodValidator } from '@tanstack/zod-adapter';

import { authSearchParamsSchema } from '~/modules/auth/auth.schema';
import { authSearchParamsSchema } from '~/modules/auth/auth.search';
import { authGuestGuard } from '~/modules/auth/auth.utils';

export const Route = createFileRoute('/auth')({
Expand Down