Skip to content

Commit 61dea4c

Browse files
committed
fix: remove duplicate import in auth route file
- Eliminated redundant import of createFileRoute in $pathname.tsx to streamline the code and improve clarity.
1 parent bb2d6da commit 61dea4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/auth/$pathname.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AuthView, authLocalization } from '@daveyplate/better-auth-ui';
2-
import { redirect, createFileRoute, createFileRoute } from '@tanstack/react-router';
2+
import { redirect, createFileRoute } from '@tanstack/react-router';
33
import { z } from 'zod';
44
import { getSession } from '~/server/function/auth.server.func';
55
import { authLocalizationOverrides, authViewClassNames } from '~/components/auth/auth-styles';

0 commit comments

Comments
 (0)