Skip to content

Commit 61b521a

Browse files
remove unused imports
1 parent 2b36869 commit 61b521a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/adders/lucia/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ export default defineAdder({
365365
content: ({ content, typescript }) => {
366366
const { ast, generateCode } = parseScript(content);
367367
imports.addNamespace(ast, '$lib/server/auth.js', 'auth');
368-
imports.addNamed(ast, '$app/environment', { dev: 'dev' });
369368
kit.addHooksHandle(ast, typescript, 'handleAuth', getAuthHandleContent());
370369
return generateCode();
371370
}
@@ -394,7 +393,6 @@ export default defineAdder({
394393
import { encodeBase32LowerCaseNoPadding } from '@oslojs/encoding';
395394
import { fail, redirect } from '@sveltejs/kit';
396395
import { eq } from 'drizzle-orm';
397-
import { dev } from '$app/environment';
398396
import * as auth from '$lib/server/auth';
399397
import { db } from '$lib/server/db';
400398
import * as table from '$lib/server/db/schema';

0 commit comments

Comments
 (0)