We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d542229 commit aea68ccCopy full SHA for aea68cc
2 files changed
apps/web/app/(with-contexts)/dashboard/page.tsx
@@ -9,7 +9,7 @@ export default async function Page() {
9
const profile = (await getProfile()) as Profile;
10
11
if (!profile) {
12
- await auth.signOut();
+ await auth.api.signOut();
13
}
14
15
if (checkPermission(profile?.permissions, ADMIN_PERMISSIONS)) {
apps/web/next-env.d.ts
@@ -1,6 +1,6 @@
1
/// <reference types="next" />
2
/// <reference types="next/image-types/global" />
3
-import "./.next/dev/types/routes.d.ts";
+import "./.next/types/routes.d.ts";
4
5
// NOTE: This file should not be edited
6
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
0 commit comments