Refactor import statements order

The order of import statements has been adjusted to ensure 'server-only' is imported first in 'admin-auth-user.service.ts' and 'index.ts'. This aims to prevent any potential conflicts and ensure smoother execution of the code.
This commit is contained in:
giancarlo
2024-04-09 19:13:11 +08:00
parent 37f1db6b2b
commit 6753c2a7db
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import { SupabaseClient } from '@supabase/supabase-js';
import 'server-only';
import { SupabaseClient } from '@supabase/supabase-js';
import { Database } from '@kit/supabase/database';
/**

View File

@@ -1,4 +1,5 @@
import 'server-only';
import Email from 'vercel-email';
import { z } from 'zod';