handling of empty database

This commit is contained in:
2024-01-05 16:28:48 +01:00
parent 0b85e74eb0
commit e537be1870
5 changed files with 37 additions and 15 deletions

View File

@@ -150,6 +150,7 @@ export async function updateOrAddBill(locationId: string, billId?:string, prevSt
}
export async function gotoHome() {
revalidatePath('/');
redirect('/');
}