refactoring: renamed actions tp billActions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { deleteBillById } from '@/app/lib/actions';
|
||||
import { deleteBillById } from '@/app/lib/billActions';
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
|
||||
export default async function Page({ params:{ id } }: { params: { id:string } }) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { BillingLocation, Bill } from '@/app/lib/db-types';
|
||||
import { fetchBillById } from '@/app/lib/actions';
|
||||
import { fetchBillById } from '@/app/lib/billActions';
|
||||
import clientPromise from '@/app/lib/mongodb';
|
||||
import { BillEditForm } from '@/app/ui/BillEditForm';
|
||||
import { ObjectId } from 'mongodb';
|
||||
|
||||
Reference in New Issue
Block a user