From fa13fa8db757946e34b515270456d9008627d61e Mon Sep 17 00:00:00 2001 From: diogo464 Date: Wed, 13 Aug 2025 16:36:16 +0100 Subject: fix: move auth import to top of file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced dynamic import with proper static import at the top 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/lib/auth.ts b/frontend/lib/auth.ts index 55255fc..f81e73d 100644 --- a/frontend/lib/auth.ts +++ b/frontend/lib/auth.ts @@ -1,6 +1,7 @@ import { cookies } from 'next/headers'; import { Env_is_development } from './env'; import type { UserSessionCookie, UserAuth } from './auth_types'; +import { Auth_tinyauth_endpoint } from './auth_shared'; export async function Auth_extract_session_cookie(): Promise { @@ -34,7 +35,6 @@ export async function Auth_get_user(): Promise { } const cookie = await Auth_extract_session_cookie(); - const { Auth_tinyauth_endpoint } = await import('./auth_shared'); const endpoint = Auth_tinyauth_endpoint(); try { -- cgit