refactoring: actions moved to seprate dir
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { deleteBillById } from '@/app/lib/billActions';
|
||||
import { deleteBillById } from '@/app/lib/actions/billActions';
|
||||
import { revalidatePath } from 'next/cache';
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { BillingLocation, Bill } from '@/app/lib/db-types';
|
||||
import { fetchBillById } from '@/app/lib/billActions';
|
||||
import { fetchBillById } from '@/app/lib/actions/billActions';
|
||||
import clientPromise from '@/app/lib/mongodb';
|
||||
import { BillEditForm } from '@/app/ui/BillEditForm';
|
||||
import { ObjectId } from 'mongodb';
|
||||
|
||||
Reference in New Issue
Block a user