mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-23 12:42:05 +00:00
Fixed Build Issues
This commit is contained in:
parent
45e5628713
commit
cc72a29630
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
'use server';
|
'use server';
|
||||||
|
|
||||||
import { auth, currentUser } from '@clerk/nextjs';
|
import { auth, currentUser } from '@clerk/nextjs/server';
|
||||||
import { revalidatePath } from 'next/cache';
|
import { revalidatePath } from 'next/cache';
|
||||||
|
|
||||||
import { db } from '@/lib/db';
|
import { db } from '@/lib/db';
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { Liveblocks } from '@liveblocks/node';
|
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({
|
const liveblocks = new Liveblocks({
|
||||||
secret: process.env.LIVEBLOCKS_SECRET_DEV_API_KEY!,
|
secret: process.env.LIVEBLOCKS_SECRET_DEV_API_KEY!,
|
||||||
|
|
|
@ -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 { ACTION, ENTITY_TYPE } from '@prisma/client';
|
||||||
|
|
||||||
import { db } from '@/lib/db';
|
import { db } from '@/lib/db';
|
||||||
|
|
Loading…
Add table
Reference in a new issue