Skip to content

Commit 46b0656

Browse files
authored
fix(core): auth imports (#660)
1 parent 8ff2eb6 commit 46b0656

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/rotten-lizards-wonder.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
fix auth imports, was causing issues with --turbo

apps/core/app/[locale]/(default)/login/_actions/submit-login-form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { isRedirectError } from 'next/dist/client/components/redirect';
44

5-
import { Credentials, signIn } from 'auth';
5+
import { Credentials, signIn } from '~/auth';
66

77
export type State = { status: 'idle' } | { status: 'failed' };
88

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { handlers } from 'auth';
1+
import { handlers } from '~/auth';
22

33
export const { GET, POST } = handlers;

apps/core/middlewares/with-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { auth } from 'auth';
1+
import { auth } from '~/auth';
22

33
import { type MiddlewareFactory } from './compose-middlewares';
44

0 commit comments

Comments
 (0)