refactoring: actions moved to seprate dir

This commit is contained in:
2024-01-09 15:00:26 +01:00
parent af7d42891c
commit 8112c9765d
13 changed files with 56 additions and 58 deletions

View File

@@ -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';