Fixed Build Issues

This commit is contained in:
Ahmad 2024-03-22 16:52:51 -04:00
parent 45e5628713
commit cc72a29630
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
'use server';
import { auth, currentUser } from '@clerk/nextjs';
import { auth, currentUser } from '@clerk/nextjs/server';
import { revalidatePath } from 'next/cache';
import { db } from '@/lib/db';

View file

@ -1,5 +1,6 @@
import { Liveblocks } from '@liveblocks/node';
import { useUser, auth } from '@clerk/nextjs';
import { useUser } from '@clerk/nextjs';
import { auth } from '@clerk/nextjs/server';
const liveblocks = new Liveblocks({
secret: process.env.LIVEBLOCKS_SECRET_DEV_API_KEY!,

View file

@ -1,4 +1,4 @@
import { auth, currentUser } from '@clerk/nextjs';
import { auth, currentUser } from '@clerk/nextjs/server';
import { ACTION, ENTITY_TYPE } from '@prisma/client';
import { db } from '@/lib/db';